mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 17:51:55 +08:00
16 lines
227 B
JavaScript
16 lines
227 B
JavaScript
|
import Vue from 'vue'
|
||
|
import Vuex from 'vuex'
|
||
|
import user from '@/store/modules/user'
|
||
|
import getters from './getters'
|
||
|
|
||
|
Vue.use(Vuex)
|
||
|
|
||
|
const store = new Vuex.Store({
|
||
|
modules: {
|
||
|
user
|
||
|
},
|
||
|
getters
|
||
|
})
|
||
|
|
||
|
export default store
|