This commit is contained in:
+3
-1
@@ -8,10 +8,12 @@
|
||||
import Vue from 'vue';
|
||||
import Vuex from 'vuex';
|
||||
|
||||
import version from '../../version';
|
||||
|
||||
Vue.use (Vuex);
|
||||
|
||||
export default new Vuex.Store ({
|
||||
state: { log: {} },
|
||||
state: { log: {}, version, theme: '' },
|
||||
mutations: {
|
||||
set_log (state, log) {
|
||||
state.log = log;
|
||||
|
||||
Reference in New Issue
Block a user