chore: 容器框架升级,修复项目命令行异常问题
This commit is contained in:
33
apps/platform/.env.production
Normal file
33
apps/platform/.env.production
Normal file
@@ -0,0 +1,33 @@
|
||||
VITE_BASE=/
|
||||
|
||||
# 接口地址
|
||||
VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
|
||||
|
||||
# 是否开启压缩,可以设置为 none, brotli, gzip
|
||||
VITE_COMPRESS=none
|
||||
|
||||
# 是否开启 PWA
|
||||
VITE_PWA=false
|
||||
|
||||
# vue-router 的模式
|
||||
VITE_ROUTER_HISTORY=hash
|
||||
|
||||
# 是否注入全局loading
|
||||
VITE_INJECT_APP_LOADING=true
|
||||
|
||||
# 打包后是否生成dist.zip
|
||||
VITE_ARCHIVER=true
|
||||
|
||||
|
||||
# 只在生产模式中被载入
|
||||
VITE_NODE_ENV = 'production'
|
||||
|
||||
# 公共基础路径, 详见: https://cn.vitejs.dev/guide/build.html#public-base-path
|
||||
VITE_BASE_URL = /
|
||||
|
||||
VITE_BASE_API_URL = 'https://custom-chart-api.shiyuegame.com/'
|
||||
|
||||
VITE_PLATFORM_URL = 'https://y-code-platform.shiyuegame.com/'
|
||||
VITE_DESIGNER_URL = 'https://y-code-designer.shiyuegame.com/'
|
||||
VITE_RENDERER_URL = 'https://y-code-renderer.shiyuegame.com/'
|
||||
Y_CODE_V1_URL = 'https://custom-chart.shiyuegame.com/'
|
||||
Reference in New Issue
Block a user