.env.development 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. # 是否打开mock
  2. VITE_USE_MOCK = true
  3. # 发布路径
  4. VITE_PUBLIC_PATH = /
  5. # 跨域代理,您可以配置多个 ,请注意,没有换行符
  6. #VITE_PROXY = [["/jeecgboot","http://localhost:8080/jeecg-boot"],["/upload","http://localhost:3300/upload"]]
  7. # VITE_PROXY = [["/jeecgsystem","http://10.10.150.72:9999"],["/upload","http://localhost:3300/upload"]]
  8. VITE_PROXY = [["/jeecgsystem","http://182.92.126.35:9999"],["/upload","http://localhost:3300/upload"]]
  9. #VITE_PROXY = [["/jeecgsystem","http://192.168.1.8:9999"],["/upload","http://localhost:3300/upload"]]
  10. # 控制台不输出
  11. VITE_DROP_CONSOLE = false
  12. #后台接口父地址(必填)
  13. #VITE_GLOB_API_URL=/jeecgboot
  14. VITE_GLOB_API_URL=/jeecgsystem
  15. #后台接口全路径地址(必填)
  16. # VITE_GLOB_DOMAIN_URL=http://10.10.150.72:9999
  17. VITE_GLOB_DOMAIN_URL=http://182.92.126.35:9999
  18. #VITE_GLOB_DOMAIN_URL=http://192.168.1.8:9999
  19. # 接口前缀
  20. VITE_GLOB_API_URL_PREFIX=
  21. #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
  22. #VITE_APP_SUB_APP = [["micro-need-air", "//182.92.126.35:8099/"], ["micro-vent-3dModal", "//localhost:8091/"], ["micro-fire-front", "//localhost:8090/"]]
  23. VITE_APP_SUB_APP = [["micro-vent-3dModal", "//localhost:8091/"], ["micro-need-air", "//localhost:8099/"], ["micro-fire-front", "//localhost:8090/"]]