perf: remove the side effects of @vben-core/locales

This commit is contained in:
vben
2024-07-07 02:00:51 +08:00
parent 208d4188fc
commit fd61d2efc4
11 changed files with 524 additions and 485 deletions

View File

@@ -16,6 +16,7 @@ async function bootstrap(namespace: string) {
await setupI18n(app, {
defaultLocale: preferences.app.locale,
loadMessages,
missingWarn: import.meta.env.PROD,
});
// 配置 pinia-store