2023-04-24 11:41:45 +00:00
|
|
|
|
# 资源公共路径,需要以 / 开头和结尾
|
2023-06-08 03:20:04 +00:00
|
|
|
|
VITE_PUBLIC_PATH = /
|
2023-04-24 11:41:45 +00:00
|
|
|
|
|
|
|
|
|
# 是否删除Console.log
|
|
|
|
|
VITE_DROP_CONSOLE = true
|
|
|
|
|
|
|
|
|
|
# 打包是否输出gz|br文件
|
|
|
|
|
# 可选: gzip | brotli | none
|
|
|
|
|
# 也可以有多个, 例如 ‘gzip’|'brotli',这样会同时生成 .gz和.br文件
|
|
|
|
|
VITE_BUILD_COMPRESS = 'gzip'
|
|
|
|
|
|
|
|
|
|
# 使用compress时是否删除源文件,默认false
|
|
|
|
|
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|
|
|
|
|
|
2023-05-11 07:50:47 +00:00
|
|
|
|
# 基础页面地址,例如 swagger 等页面
|
2024-05-04 03:26:00 +00:00
|
|
|
|
VITE_GLOB_BASE_URL = "http://127.0.0.1:48080"
|
2023-05-11 07:50:47 +00:00
|
|
|
|
# 接口地址,如果没有跨域问题,直接在这里配置即可
|
2024-05-04 03:26:00 +00:00
|
|
|
|
VITE_GLOB_API_URL = http://127.0.0.1:48080/admin-api
|
2023-04-24 11:41:45 +00:00
|
|
|
|
|
|
|
|
|
# 接口地址前缀,有些系统所有接口地址都有前缀,可以在这里统一加,方便切换
|
|
|
|
|
VITE_GLOB_API_URL_PREFIX =
|
|
|
|
|
|
|
|
|
|
# 打包是否开启pwa功能
|
|
|
|
|
VITE_USE_PWA = false
|
|
|
|
|
|
|
|
|
|
# 百度统计
|
|
|
|
|
VITE_APP_BAIDU_CODE = eb21166668bf766b9d059a6fd1c10777
|
2024-05-04 03:26:00 +00:00
|
|
|
|
|
|
|
|
|
# 验证码的开关
|
|
|
|
|
VITE_GLOB_APP_CAPTCHA_ENABLE = false
|