Defer admin form runtime loading
This commit is contained in:
@@ -12,6 +12,7 @@ import { $t, setupI18n } from '#/locales';
|
||||
import { useAppContextStore } from '#/store/app-context';
|
||||
|
||||
import App from './app.vue';
|
||||
import { initMessageAdapter } from './adapter/message';
|
||||
import { setupElementPlus } from './plugins/element-plus';
|
||||
import { router } from './router';
|
||||
|
||||
@@ -27,6 +28,7 @@ async function bootstrap(namespace: string) {
|
||||
const app = createApp(App);
|
||||
|
||||
setupElementPlus(app);
|
||||
initMessageAdapter();
|
||||
|
||||
// 国际化 i18n 配置
|
||||
await setupI18n(app);
|
||||
|
||||
Reference in New Issue
Block a user