mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:34:19 +08:00
refactor: refactor the project to solve the hot update problem caused by circular dependencies close #301
This commit is contained in:
@@ -17,9 +17,11 @@ import { setupStore } from '/@/store';
|
||||
import { setupErrorHandle } from '/@/logics/error-handle';
|
||||
import { setupGlobDirectives } from '/@/directives';
|
||||
import { setupI18n } from '/@/locales/setupI18n';
|
||||
|
||||
import { registerGlobComp } from '/@/components/registerGlobComp';
|
||||
|
||||
// router-guard
|
||||
import '/@/router/guard';
|
||||
|
||||
// Register icon Sprite
|
||||
import 'vite-plugin-svg-icons/register';
|
||||
|
||||
@@ -32,6 +34,7 @@ import { isDevMode } from '/@/utils/env';
|
||||
|
||||
// Multilingual configuration
|
||||
await setupI18n(app);
|
||||
|
||||
// Configure routing
|
||||
setupRouter(app);
|
||||
|
||||
|
Reference in New Issue
Block a user