2024-08-02 11:02:22 +08:00
|
|
|
|
# 开发环境:本地只启动前端项目,依赖开发环境(后端、APP)
|
|
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
|
|
VITE_DEV=true
|
|
|
|
|
|
|
|
|
|
# 请求路径
|
2024-08-08 14:28:07 +08:00
|
|
|
|
VITE_BASE_URL='https://zysc.fjptzykj.com'
|
2024-08-02 11:02:22 +08:00
|
|
|
|
|
|
|
|
|
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
|
|
|
|
VITE_UPLOAD_TYPE=server
|
|
|
|
|
# 上传路径
|
2024-08-08 14:28:07 +08:00
|
|
|
|
VITE_UPLOAD_URL='https://zysc.fjptzykj.com/admin-api/infra/file/upload'
|
2024-08-02 11:02:22 +08:00
|
|
|
|
|
|
|
|
|
# 接口地址
|
|
|
|
|
VITE_API_URL=/admin-api
|
|
|
|
|
|
|
|
|
|
# 是否删除debugger
|
|
|
|
|
VITE_DROP_DEBUGGER=false
|
|
|
|
|
|
|
|
|
|
# 是否删除console.log
|
|
|
|
|
VITE_DROP_CONSOLE=false
|
|
|
|
|
|
|
|
|
|
# 是否sourcemap
|
|
|
|
|
VITE_SOURCEMAP=true
|
|
|
|
|
|
|
|
|
|
# 打包路径
|
|
|
|
|
VITE_BASE_PATH=/
|
|
|
|
|
|
|
|
|
|
# 输出路径
|
|
|
|
|
VITE_OUT_DIR=dist
|
|
|
|
|
|
|
|
|
|
# 商城H5会员端域名
|
2024-08-08 14:28:07 +08:00
|
|
|
|
VITE_MALL_H5_DOMAIN='https://zysc.fjptzykj.com'
|
2024-08-02 11:02:22 +08:00
|
|
|
|
|
|
|
|
|
# 验证码的开关
|
2024-08-08 14:28:07 +08:00
|
|
|
|
VITE_APP_CAPTCHA_ENABLE=false
|