初始化

This commit is contained in:
2026-03-26 20:18:20 +08:00
commit 120a5b4dfd
368 changed files with 35926 additions and 0 deletions

12
src/store/index.ts Normal file
View File

@@ -0,0 +1,12 @@
import type { App } from 'vue';
import { createPinia } from 'pinia';
import { resetSetupStore } from './plugins';
/** Setup Vue store plugin pinia */
export function setupStore(app: App) {
const store = createPinia();
store.use(resetSetupStore);
app.use(store);
}