.env.development 464 B

12345678910111213141516171819202122
  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. # 开发环境跨域代理,支持配置多个
  15. VITE_PROXY = [["/api","http://192.168.43.77:18088"]]
  16. # VITE_PROXY = [["/api","http://192.168.127.123:18088"]]