wip: cache miss

This commit is contained in:
Vben
2021-03-23 00:21:09 +08:00
parent 5bf90eea62
commit fedd9caefb
5 changed files with 8 additions and 5 deletions

View File

@@ -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);