前端添加中英文切换

This commit is contained in:
Dev
2026-11-02 16:43:15 +08:00
parent 41ca22f59e
commit 061fa9d029
22 changed files with 817 additions and 246 deletions
+7
View File
@@ -8,6 +8,13 @@ export default defineConfig(({ mode }) => {
server: {
port: 3000,
host: '0.0.0.0',
proxy: {
'/api-proxy': {
target: 'http://127.0.0.1:8000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api-proxy/, ''),
},
},
},
publicDir: 'static',
plugins: [react()],