zhangli
1 year ago
6 changed files with 29 additions and 112 deletions
@ -1,15 +0,0 @@ |
|||||
# port |
|
||||
VITE_DEV_PORT = '8080' |
|
||||
|
|
||||
# development path |
|
||||
# VITE_DEV_PATH = 'https://demo.mtruning.club' |
|
||||
VITE_DEV_PATH = 'http://127.0.0.1:12080' |
|
||||
|
|
||||
# production path |
|
||||
VITE_PRO_PATH = 'https://demo.mtruning.club' |
|
||||
|
|
||||
# 租户开关 |
|
||||
VITE_APP_TENANT_ENABLE=true |
|
||||
|
|
||||
# 验证码的开关 |
|
||||
# VITE_APP_CAPTCHA_ENABLE=true |
|
@ -1,31 +1,8 @@ |
|||||
# 开发环境 |
# port |
||||
NODE_ENV=development |
VITE_DEV_PORT = '8080' |
||||
|
|
||||
VITE_DEV=false |
# production path |
||||
|
VITE_BASE_URL = 'http://127.0.0.1:12080' |
||||
|
|
||||
# 请求路径 |
# 租户开关 |
||||
VITE_BASE_URL='http://localhost:12080' |
VITE_APP_TENANT_ENABLE=true |
||||
|
|
||||
# 上传路径 |
|
||||
VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload' |
|
||||
|
|
||||
# 接口前缀 |
|
||||
VITE_API_BASEPATH=/dev-api |
|
||||
|
|
||||
# 接口地址 |
|
||||
VITE_API_URL=/admin-api |
|
||||
|
|
||||
# 打包路径 |
|
||||
VITE_BASE_PATH=/ |
|
||||
|
|
||||
# 是否删除debugger |
|
||||
VITE_DROP_DEBUGGER=true |
|
||||
|
|
||||
# 是否删除console.log |
|
||||
VITE_DROP_CONSOLE=false |
|
||||
|
|
||||
# 是否sourcemap |
|
||||
VITE_SOURCEMAP=false |
|
||||
|
|
||||
# 输出路径 |
|
||||
VITE_OUT_DIR=dist |
|
||||
|
@ -1,31 +1,8 @@ |
|||||
# 生产环境 |
# port |
||||
NODE_ENV=production |
VITE_DEV_PORT = '8080' |
||||
|
|
||||
VITE_DEV=false |
# production path |
||||
|
VITE_BASE_URL = 'http://127.0.0.1:12080' |
||||
|
|
||||
# 请求路径 |
# 租户开关 |
||||
VITE_BASE_URL='http://localhost:12080' |
VITE_APP_TENANT_ENABLE=true |
||||
|
|
||||
# 上传路径 |
|
||||
VITE_UPLOAD_URL='http://localhost:12080/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=/ |
|
||||
|
|
||||
# 输出路径 |
|
||||
VITE_OUT_DIR=dist-pro |
|
@ -1,31 +1,8 @@ |
|||||
# 生产环境 |
# port |
||||
NODE_ENV=test |
VITE_DEV_PORT = '8080' |
||||
|
|
||||
VITE_DEV=false |
# production path |
||||
|
VITE_BASE_URL = 'http://127.0.0.1:12080' |
||||
|
|
||||
# 请求路径 |
# 租户开关 |
||||
VITE_BASE_URL='http://dev.ccwin-in.com:25100/api' |
VITE_APP_TENANT_ENABLE=true |
||||
|
|
||||
# 上传路径 |
|
||||
VITE_UPLOAD_URL='http://dev.ccwin-in.com:25100/api/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=/ |
|
||||
|
|
||||
# 输出路径 |
|
||||
VITE_OUT_DIR=dist-test |
|
Loading…
Reference in new issue