增强开发部署构建配置

This commit is contained in:
Cheng Zhou
2026-06-17 17:23:13 +08:00
parent 9b2b8e90f6
commit e507ab98cb
5 changed files with 52 additions and 4 deletions
+3
View File
@@ -29,6 +29,9 @@ export default defineConfig({
server: {
host: true,
port: 5173,
hmr: {
clientPort: 8888,
},
proxy: {
"/api": {
target: "http://backend:8000",