spring
2026-09-10 4d9eac00f0c1613d6279fbc75affd9ce31df5c6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import type { App } from "vue";
import { createPinia } from "pinia";
 
const store = createPinia();
 
// 全局注册 store
export function setupStore(app: App<Element>) {
  app.use(store);
}
 
export * from "./modules/user";
export * from "./modules/dict";
export * from "./modules/theme";
export { store };