Browse Source

update vite.config

SyuanYu 2 years ago
parent
commit
10edabe7cb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      frontend/vite.config.ts

+ 5 - 0
frontend/vite.config.ts

@@ -16,4 +16,9 @@ export default defineConfig({
     host: "0.0.0.0",
     port: 8080,
   },
+  define: {
+    __VUE_I18N_FULL_INSTALL__: true,
+    __VUE_I18N_LEGACY_API__: false,
+    __INTLIFY_PROD_DEVTOOLS__: false,
+  },
 });