|
123456789101112131415161718192021222324252627 |
- # 本地环境
- VITE_USER_NODE_ENV = development
-
- # 公共基础路径
- VITE_PUBLIC_PATH = /
-
- # 路由模式
- # Optional: hash | history
- VITE_ROUTER_MODE = hash
-
- # 打包时是否删除 console
- VITE_DROP_CONSOLE = true
-
- # 是否开启 VitePWA
- VITE_PWA = false
-
- # 开发环境接口地址
- # VITE_API_URL = http://192.168.10.186:5566
- VITE_API_URL = http://192.168.10.186:8003
-
- # 否开启代理
- VITE_HTTP_PROXY = true
-
- # 开发环境跨域代理,支持配置多个
- # VITE_PROXY = [["/api","http://192.168.10.186:5566","/Files"]]
- VITE_PROXY = [["/api","http://192.168.10.186:8003"],["/Files","http://192.168.10.186:8003/Files"]]
-
|