mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:34:19 +08:00
wip: support multilingual configuration
This commit is contained in:
@@ -5,6 +5,7 @@ import { setupStore } from '/@/store';
|
||||
import { setupAntd } from '/@/setup/ant-design-vue';
|
||||
import { setupErrorHandle } from '/@/setup/error-handle';
|
||||
import { setupGlobDirectives } from '/@/setup/directives';
|
||||
import { setupI18n } from '/@/setup/i18n';
|
||||
|
||||
import { setupProdMockServer } from '../mock/_createProductionServer';
|
||||
import { setApp } from '/@/setup/App';
|
||||
@@ -15,11 +16,16 @@ import { isDevMode, isProdMode, isUseMock } from '/@/utils/env';
|
||||
|
||||
import '/@/design/index.less';
|
||||
|
||||
import '/@/locales/index';
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
// Configure component library
|
||||
setupAntd(app);
|
||||
|
||||
// Multilingual configuration
|
||||
setupI18n(app);
|
||||
|
||||
// Configure routing
|
||||
setupRouter(app);
|
||||
|
||||
|
Reference in New Issue
Block a user