2023-09-05 16:14:07 +08:00
|
|
|
import Vue from 'vue'
|
2023-08-30 09:44:26 +08:00
|
|
|
import Vuex from 'vuex'
|
2023-09-05 16:14:07 +08:00
|
|
|
import user from '@/store/modules/user'
|
|
|
|
|
import getters from './getters'
|
2023-08-30 09:44:26 +08:00
|
|
|
|
|
|
|
|
Vue.use(Vuex)
|
|
|
|
|
|
2023-09-05 16:14:07 +08:00
|
|
|
const store = new Vuex.Store({
|
|
|
|
|
modules: {
|
|
|
|
|
user
|
|
|
|
|
},
|
|
|
|
|
getters
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
export default store
|