2023-12-07 20:43:58 +08:00
|
|
|
|
# 本地开发环境:本地启动所有项目(前端、后端、APP)时使用,不依赖外部环境
|
2023-03-05 12:13:07 +08:00
|
|
|
|
NODE_ENV=development
|
|
|
|
|
|
|
|
|
|
VITE_DEV=true
|
|
|
|
|
|
|
|
|
|
# 请求路径
|
2023-12-07 20:43:58 +08:00
|
|
|
|
VITE_BASE_URL='http://localhost:48080'
|
2023-03-05 12:13:07 +08:00
|
|
|
|
|
2024-02-17 20:35:35 +08:00
|
|
|
|
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
|
2024-02-04 19:41:48 +08:00
|
|
|
|
VITE_UPLOAD_TYPE=server
|
2023-03-05 12:13:07 +08:00
|
|
|
|
# 上传路径
|
2023-12-07 20:43:58 +08:00
|
|
|
|
VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
|
2023-03-05 12:13:07 +08:00
|
|
|
|
|
|
|
|
|
# 接口地址
|
|
|
|
|
VITE_API_URL=/admin-api
|
|
|
|
|
|
2023-04-10 12:42:29 +08:00
|
|
|
|
# 是否删除debugger
|
|
|
|
|
VITE_DROP_DEBUGGER=false
|
|
|
|
|
|
|
|
|
|
# 是否删除console.log
|
|
|
|
|
VITE_DROP_CONSOLE=false
|
|
|
|
|
|
|
|
|
|
# 是否sourcemap
|
2023-12-07 20:43:58 +08:00
|
|
|
|
VITE_SOURCEMAP=false
|
|
|
|
|
|
|
|
|
|
# 打包路径
|
|
|
|
|
VITE_BASE_PATH=/
|
|
|
|
|
|
|
|
|
|
# 商城H5会员端域名
|
|
|
|
|
VITE_MALL_H5_DOMAIN='http://localhost:3000'
|
2023-04-10 12:42:29 +08:00
|
|
|
|
|
|
|
|
|
# 验证码的开关
|
2024-09-11 17:14:41 +08:00
|
|
|
|
VITE_APP_CAPTCHA_ENABLE=true
|