12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- # 是否启用mock
- VITE_USE_MOCK = true
- # 发布路径
- VITE_PUBLIC_PATH = /
- # 控制台不输出
- VITE_DROP_CONSOLE = true
- # 是否启用gzip或brotli压缩
- # 选项值: gzip | brotli | none
- # 如果需要多个可以使用“,”分隔
- VITE_BUILD_COMPRESS = 'gzip'
- # 使用压缩时是否删除原始文件,默认为false
- VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
- #VITE_PROXY = [["/jeecgsystem","http://10.248.223.116:9999"],["/upload","http://localhost:3300/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://10.248.210.152:9999"],["/upload","http://10.248.210.152:9999/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://182.92.126.35:9999"],["/upload","http://182.92.126.35:9999/upload"]]
- VITE_PROXY = [["/modelreq","http://172.16.41.171:9999"],["/upload","http://172.16.41.171:9999/upload"], ["/documents", "http://182.92.126.35:9050"]]
- #VITE_PROXY = [["/jeecgsystem","http://172.16.41.171:9999"],["/upload","http://172.16.41.171:9999/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://10.120.120.163:9999"],["/upload","http://10.120.120.163:9999/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://192.168.1.4:9999"],["/upload","http://localhost:3300/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://192.168.0.79:9999"],["/upload","http://localhost:3300/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://42.194.132.36:8099"],["/upload","http://localhost:3300/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://192.168.0.30:8086"],["/upload","http://localhost:3300/upload"]]
- #VITE_PROXY = [["/jeecgsystem","http://127.0.0.1:9999"],["/upload","http://localhost:3300/upload"]]
- #后台接口父地址(必填)
- VITE_GLOB_API_URL=/modelreq
- #后台接口全路径地址(必填)
- #VITE_GLOB_DOMAIN_URL=http://jeecg-boot-system:8080/jeecg-boot
- #VITE_GLOB_DOMAIN_URL=http://182.92.126.35:9999
- #VITE_GLOB_DOMAIN_URL=http://10.248.210.152:9999 #宝德
- #VITE_GLOB_DOMAIN_URL = http://172.16.41.171:9999
- #VITE_GLOB_DOMAIN_URL = http://10.120.120.163:9999
- #VITE_GLOB_DOMAIN_URL=http://10.248.223.50:9999
- #VITE_GLOB_DOMAIN_URL=http://192.168.1.4:9999
- #VITE_GLOB_DOMAIN_URL=http://192.168.0.79:9999
- #VITE_GLOB_DOMAIN_URL=http://127.0.0.1:9999
- #VITE_GLOB_DOMAIN_URL=http://42.194.132.36:8099
- #采育服务器
- #VITE_GLOB_DOMAIN_URL=http://192.168.0.79:9999
- #VITE_GLOB_DOMAIN_URL=http://192.168.0.30:8086
- # 接口父路径前缀
- VITE_GLOB_API_URL_PREFIX=
- # 是否启用图像压缩
- VITE_USE_IMAGEMIN= true
- # 使用pwa
- VITE_USE_PWA = false
- # 是否兼容旧浏览器
- VITE_LEGACY = false
- #微前端qiankun应用,命名必须以VITE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径
- #VITE_APP_SUB_APP = [["micro-need-air", "//10.248.223.116:7777/"], ["micro-vent-3dModal", "//10.248.223.116:7121/"]]
- #VITE_APP_SUB_APP = [["micro-need-air", "//10.248.210.152:8093/"], ["micro-vent-3dModal", "//10.248.210.152:8091/"]] #宝德
- #VITE_APP_SUB_APP = [["micro-need-air", "//10.120.120.163:8093/"], ["micro-vent-3dModal", "//10.120.120.163:8091/"]] #查哈素
- #VITE_APP_SUB_APP = [["micro-need-air", "//182.92.126.35:8093/"], ["micro-vent-3dModal", "//182.92.126.35:8091/"]]
- #VITE_APP_SUB_APP = [["micro-need-air", ":8093/"], ["micro-vent-3dModal", ":8091/"]]
- #VITE_APP_SUB_APP = [["micro-vent-3dModal", ":8091/", "micro-vent-3dModal"], ["micro-need-air", ":8093/", "micro-need-air"]]
- VITE_APP_SUB_APP = [["micro-vent-3dModal", "/models/", ":8091/"], ["micro-need-air", "/vent-need-air/", ":8093/"]] #[name, entry, container]
- #VITE_APP_SUB_APP = [["micro-need-air", "//172.16.41.171:7123/"], ["micro-vent-3dModal", "//172.16.41.171:7121/"]]
- #VITE_APP_SUB_APP = [["micro-vent-3dModal", "//192.168.0.79:7121/"]]
- #VITE_APP_SUB_APP = [["micro-need-air", "//127.0.0.1:20000/"], ["micro-vent-3dModal", "//127.0.0.1:30000/"], ["micro-fire-front", "//127.0.0.1:40000/"]]
- #VITE_APP_SUB_APP = [["micro-need-air", "//127.0.0.1:7123/"], ["micro-vent-3dModal", "//127.0.0.1:7121/"]]
|