Set $matrix variable inside Vuex store
This commit is contained in:
parent
96ef4885d6
commit
fba172d5cf
2 changed files with 6 additions and 3 deletions
|
|
@ -184,6 +184,9 @@ app.config.globalProperties.$i18n = i18n;
|
|||
|
||||
app.use(matrix, { store: store, i18n: i18n });
|
||||
|
||||
// Set $matrix inside data store
|
||||
store.$matrix = app.$matrix;
|
||||
|
||||
if (app.$config.accentColor) {
|
||||
app.$vuetify.theme.themes.light.primary = app.$config.accentColor;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue