blob: d252e9669e8d2ca0a4e49524f4c5c23f97fd8a3f [file] [log] [blame] [edit]
import { createStore } from 'vuex'
import auth from './modules/auth'
export default createStore({
state: {
// 可以为空
},
getters: {
// 可以为空,因为 auth 模块有自己的 getters
},
mutations: {
// 可以为空
},
actions: {
// 可以为空
},
modules: {
auth
}
})