.env.development 538 B

12345678910111213141516171819202122232425
  1. # 本地环境
  2. VITE_USER_NODE_ENV = development
  3. # 公共基础路径
  4. VITE_PUBLIC_PATH = /
  5. # 路由模式
  6. # Optional: hash | history
  7. VITE_ROUTER_MODE = hash
  8. # 打包时是否删除 console
  9. VITE_DROP_CONSOLE = true
  10. # 是否开启 VitePWA
  11. VITE_PWA = false
  12. # 开发环境接口地址
  13. VITE_API_URL = /api
  14. # 开发环境GIS地址
  15. VITE_API_GIS_URL = "http://192.168.14.139:8080"
  16. # 开发环境跨域代理,支持配置多个
  17. VITE_PROXY = [["/api","http://192.168.14.139:18088"]]
  18. # VITE_PROXY = [["/api","http://192.168.127.123:18088"]]