feat(store): 重构应用状态管理,移除旧的 app-store 并引入 app-store-auto-imports
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user