2024-07-11 18:02:47 +08:00
|
|
|
import Vue from 'vue'
|
|
|
|
|
import Vuex from 'vuex'
|
|
|
|
|
import getters from './getters'
|
|
|
|
|
import app from './modules/app'
|
|
|
|
|
import settings from './modules/settings'
|
2024-07-26 17:55:44 +08:00
|
|
|
import sample from '@/store/modules/sample'
|
2024-07-11 18:02:47 +08:00
|
|
|
// import user from './modules/user'
|
|
|
|
|
|
|
|
|
|
Vue.use(Vuex)
|
|
|
|
|
|
|
|
|
|
const store = new Vuex.Store({
|
|
|
|
|
modules: {
|
|
|
|
|
app,
|
2024-07-26 17:55:44 +08:00
|
|
|
settings,
|
|
|
|
|
sample
|
2024-07-11 18:02:47 +08:00
|
|
|
// user
|
|
|
|
|
},
|
|
|
|
|
getters
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
export default store
|