blob: d252e9669e8d2ca0a4e49524f4c5c23f97fd8a3f [file] [log] [blame]
Xing Jinwenff16b1e2025-06-05 00:29:26 +08001import { createStore } from 'vuex'
2import auth from './modules/auth'
3
4export default createStore({
5 state: {
6 // 可以为空
7 },
8 getters: {
9 // 可以为空,因为 auth 模块有自己的 getters
10 },
11 mutations: {
12 // 可以为空
13 },
14 actions: {
15 // 可以为空
16 },
17 modules: {
18 auth
19 }
20})