| | |
| | | # 测试环境:只在打包时使用 |
| | | # 开发环境:本地只启动前端项目,依赖开发环境(后端、APP) |
| | | NODE_ENV=production |
| | | |
| | | VITE_DEV=false |
| | | VITE_DEV=true |
| | | |
| | | # 请求路径 |
| | | VITE_BASE_URL='http://172.16.8.100:48080' |
| | |
| | | VITE_API_URL=/admin-api |
| | | |
| | | # 是否删除debugger |
| | | VITE_DROP_DEBUGGER=true |
| | | VITE_DROP_DEBUGGER=false |
| | | |
| | | # 是否删除console.log |
| | | VITE_DROP_CONSOLE=true |
| | | VITE_DROP_CONSOLE=false |
| | | |
| | | # 是否sourcemap |
| | | VITE_SOURCEMAP=false |
| | | VITE_SOURCEMAP=true |
| | | |
| | | # 打包路径 |
| | | VITE_BASE_PATH=/admin-ui-vue3/ |
| | | VITE_BASE_PATH=/ |
| | | |
| | | # 输出路径 |
| | | VITE_OUT_DIR=dist-test |
| | | VITE_OUT_DIR=dist |
| | | |
| | | # 商城H5会员端域名 |
| | | # 商城H5会员端域名iai |
| | | VITE_MALL_H5_DOMAIN='http://' |
| | | |
| | | # 验证码的开关 |
| | | VITE_APP_CAPTCHA_ENABLE=true |
| | | |
| | | # MDK模型上传路径 |
| | | MDK_UPLOAD_URL='http://172.16.8.100:48080/admin-api/model//pre/item/upload-model' |