mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:34:19 +08:00
wip: cache miss
This commit is contained in:
@@ -32,6 +32,9 @@ import { isDevMode } from '/@/utils/env';
|
||||
// Register global components
|
||||
registerGlobComp(app);
|
||||
|
||||
// Multilingual configuration
|
||||
await setupI18n(app);
|
||||
|
||||
// Configure routing
|
||||
setupRouter(app);
|
||||
|
||||
@@ -45,7 +48,7 @@ import { isDevMode } from '/@/utils/env';
|
||||
setupErrorHandle(app);
|
||||
|
||||
// Mount when the route is ready
|
||||
await Promise.all([setupI18n(app), router.isReady()]);
|
||||
await router.isReady();
|
||||
|
||||
app.mount('#app', true);
|
||||
|
||||
|
Reference in New Issue
Block a user