You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
608 B
32 lines
608 B
1 year ago
|
# 是否开启mock
|
||
|
VITE_USE_MOCK = false
|
||
|
|
||
|
# 网站根目录
|
||
|
VITE_PUBLIC_PATH = /
|
||
|
|
||
|
# 网站前缀
|
||
|
VITE_BASE_URL = /
|
||
|
|
||
|
# 是否删除console
|
||
|
VITE_DROP_CONSOLE = true
|
||
|
|
||
|
# API
|
||
|
VITE_GLOB_API_URL ="http://10.10.10.56:9000"
|
||
|
|
||
|
# 图片上传地址
|
||
|
VITE_GLOB_UPLOAD_URL=
|
||
|
|
||
|
# 图片前缀地址
|
||
|
VITE_GLOB_IMG_URL=
|
||
|
|
||
|
# 接口前缀
|
||
|
VITE_GLOB_API_URL_PREFIX =
|
||
|
|
||
|
# 是否启用gzip压缩或brotli压缩
|
||
|
# 可选: gzip | brotli | none
|
||
|
# 如果你需要多种形式,你可以用','来分隔
|
||
|
VITE_BUILD_COMPRESS = 'none'
|
||
|
|
||
|
# 使用压缩时是否删除原始文件,默认为false
|
||
|
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|