2023-12-07 12:43:58 +00:00
|
|
|
# 测试环境:只在打包时使用
|
2023-03-04 18:32:24 +00:00
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
VITE_DEV=false
|
|
|
|
|
|
|
|
# 请求路径
|
|
|
|
VITE_BASE_URL='http://localhost:48080'
|
|
|
|
|
|
|
|
# 上传路径
|
|
|
|
VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
|
|
|
|
|
|
|
|
# 接口前缀
|
|
|
|
VITE_API_BASEPATH=
|
|
|
|
|
|
|
|
# 接口地址
|
|
|
|
VITE_API_URL=/admin-api
|
|
|
|
|
|
|
|
# 是否删除debugger
|
|
|
|
VITE_DROP_DEBUGGER=true
|
|
|
|
|
|
|
|
# 是否删除console.log
|
|
|
|
VITE_DROP_CONSOLE=true
|
|
|
|
|
|
|
|
# 是否sourcemap
|
|
|
|
VITE_SOURCEMAP=false
|
|
|
|
|
|
|
|
# 打包路径
|
|
|
|
VITE_BASE_PATH=/admin-ui-vue3/
|
|
|
|
|
|
|
|
# 输出路径
|
2023-12-07 12:43:58 +00:00
|
|
|
VITE_OUT_DIR=dist-test
|
|
|
|
|
|
|
|
# 商城H5会员端域名
|
|
|
|
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
|