feat(store): 重构应用状态管理,移除旧的 app-store 并引入 app-store-auto-imports
Some checks failed
CI/CD Pipeline / playwright (push) Successful in 4m10s
CI/CD Pipeline / build-and-deploy (push) Successful in 4m33s
测试最新依赖 / playwright (push) Successful in 2m16s
测试最新依赖 / build-and-test (push) Failing after 2m26s

This commit is contained in:
严浩
2025-10-29 23:37:31 +08:00
parent 2874fdfaa7
commit f81c7614be
9 changed files with 64 additions and 78 deletions

View File

@@ -8,4 +8,6 @@ consola.level = LogLevels.verbose;
/* `import.meta.glob(${g}, { eager: ${isSync} })`; */
const autoInstallModules = import.meta.glob('./plugins/!(index).ts', { eager: true });
setupPlugins(createApp(App), autoInstallModules).mount('#app');
const app = setupPlugins(createApp(App), autoInstallModules);
await new Promise((resolve) => setTimeout(resolve, 280));
app.mount('#app');