Подключаем работу с Vuex

This commit is contained in:
Book Pauk
2019-01-01 21:41:26 +07:00
parent 771cf32ed8
commit 22dab347ea
5 changed files with 75 additions and 18 deletions

14
client/store/index.js Normal file
View File

@@ -0,0 +1,14 @@
import Vue from 'vue';
import Vuex from 'vuex';
import uistate from './modules/uistate';
Vue.use(Vuex);
const debug = process.env.NODE_ENV !== 'production';
export default new Vuex.Store({
modules: {
uistate
},
strict: debug
});