mirror of
https://github.com/yangzongzhuan/RuoYi-App.git
synced 2025-12-18 07:25:52 +00:00
16 lines
240 B
JavaScript
16 lines
240 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
|