2023-03-05 04:13:07 +00:00
|
|
|
# 本地开发环境
|
|
|
|
NODE_ENV=development
|
|
|
|
|
|
|
|
VITE_DEV=true
|
|
|
|
|
|
|
|
# 请求路径
|
|
|
|
VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn'
|
|
|
|
|
|
|
|
# 上传路径
|
|
|
|
VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload'
|
|
|
|
|
|
|
|
# 接口前缀
|
|
|
|
VITE_API_BASEPATH=/dev-api
|
|
|
|
|
|
|
|
# 接口地址
|
|
|
|
VITE_API_URL=/admin-api
|
|
|
|
|
|
|
|
# 打包路径
|
|
|
|
VITE_BASE_PATH=/
|
2023-04-10 04:42:29 +00:00
|
|
|
|
|
|
|
# 项目本地运行端口号, 与.vscode/launch.json配合
|
2023-04-11 15:28:59 +00:00
|
|
|
VITE_PORT=80
|
2023-04-10 04:42:29 +00:00
|
|
|
|
|
|
|
# 是否删除debugger
|
|
|
|
VITE_DROP_DEBUGGER=false
|
|
|
|
|
|
|
|
# 是否删除console.log
|
|
|
|
VITE_DROP_CONSOLE=false
|
|
|
|
|
|
|
|
# 是否sourcemap
|
|
|
|
VITE_SOURCEMAP=true
|
|
|
|
|
|
|
|
# 验证码的开关
|
|
|
|
VITE_APP_CAPTCHA_ENABLE=false
|