jinjianback1.1/src/store/index.js

20 lines
332 B
JavaScript
Raw Normal View History

2017-06-26 13:38:24 +08:00
import Vue from 'vue';
import Vuex from 'vuex';
import app from './modules/app';
import user from './modules/user';
import permission from './modules/permission';
import getters from './getters';
Vue.use(Vuex);
const store = new Vuex.Store({
modules: {
app,
user,
permission
},
getters
});
export default store