fe-drone-ci/src/store/index.js

20 lines
332 B
JavaScript
Raw Normal View History

2017-04-18 07:09:13 +00:00
import Vue from 'vue';
import Vuex from 'vuex';
import app from './modules/app';
import user from './modules/user';
2017-05-17 08:26:33 +00:00
import permission from './modules/permission';
2017-04-18 07:09:13 +00:00
import getters from './getters';
Vue.use(Vuex);
const store = new Vuex.Store({
modules: {
app,
2017-05-17 08:26:33 +00:00
user,
permission
2017-04-18 07:09:13 +00:00
},
getters
});
export default store