35 lines
610 B
Plaintext
35 lines
610 B
Plaintext
# 本地开发环境
|
|
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=/
|
|
|
|
# 项目本地运行端口号, 与.vscode/launch.json配合
|
|
VITE_PORT=5173
|
|
|
|
# 是否删除debugger
|
|
VITE_DROP_DEBUGGER=false
|
|
|
|
# 是否删除console.log
|
|
VITE_DROP_CONSOLE=false
|
|
|
|
# 是否sourcemap
|
|
VITE_SOURCEMAP=true
|
|
|
|
# 验证码的开关
|
|
VITE_APP_CAPTCHA_ENABLE=false
|