.env.development 639 B

1234567891011121314151617181920212223
  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","https://mock.mengxuegu.com/mock/629d727e6163854a32e8307e"]]
  16. # VITE_PROXY = [["/api","https://www.fastmock.site/mock/f81e8333c1a9276214bcdbc170d9e0a0"]]
  17. # VITE_PROXY = [["/api-easymock","https://mock.mengxuegu.com"],["/api-fastmock","https://www.fastmock.site"]]