mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-05 19:41:51 +08:00
20 lines
324 B
JavaScript
20 lines
324 B
JavaScript
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
|