.env.development 629 B

123456789101112131415161718192021
  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. #后台接口全路径地址(必填)
  8. VITE_GLOB_DOMAIN_URL=http://localhost:8080/jeecg-boot
  9. #后台接口父地址(必填)
  10. VITE_GLOB_API_URL=/jeecgboot
  11. # 接口前缀
  12. VITE_GLOB_API_URL_PREFIX=
  13. #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
  14. VITE_APP_SUB_jeecg-app-1 = '//localhost:8092'