jinjianback1.1/src/store/index.js

20 lines
324 B
JavaScript
Raw Normal View History

2017-08-30 17:42:06 +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'
2017-06-26 13:38:24 +08:00
2017-08-30 17:42:06 +08:00
Vue.use(Vuex)
2017-06-26 13:38:24 +08:00
const store = new Vuex.Store({
modules: {
app,
user,
permission
},
getters
2017-08-30 17:42:06 +08:00
})
2017-06-26 13:38:24 +08:00
export default store