.env.development 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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://mcapi.mdfitnesscao.com"]]
  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"]]
  18. # 项目本地运行端口号
  19. VITE_PORT = 8848
  20. # 开发环境读取配置文件路径
  21. VITE_PUBLIC_PATH = /
  22. # 开发环境路由历史模式
  23. VITE_ROUTER_HISTORY = "hash"
  24. ENV = 'development'
  25. # 开发环境请求接口
  26. VITE_APP_H5_DOMAIN = 'https://cps.mdfitnesscao.com'
  27. VITE_APP_DOMAIN = 'https://mcapi.mdfitnesscao.com'
  28. VITE_APP_DOMAIN_API = 'https://api.mdfitnesscao.com'
  29. VITE_APP_CHANNEL_API = 'https://mcapi.mdfitnesscao.com'
  30. VITE_APP_CHANNEL_DOMAIN = 'https://channel.dev.mdfitnesscao.com'
  31. VITE_APP_OSS_DOMAIN = 'https://oss.mdfitnesscao.com'