# Whether to open mock
|
# 是否开启mock
|
VITE_USE_MOCK = true
|
|
# public path
|
# 资源公共路径,需要以 / 开头和结尾
|
VITE_PUBLIC_PATH = /
|
|
# Whether to enable gzip or brotli compression
|
# Optional: gzip | brotli | none
|
# If you need multiple forms, you can use `,` to separate
|
# 打包是否输出gz|br文件
|
# 可选: gzip | brotli | none
|
# 也可以有多个, 例如 ‘gzip’|'brotli',这样会同时生成 .gz和.br文件
|
VITE_BUILD_COMPRESS = 'none'
|
|
|
# Basic interface address SPA
|
# 接口地址 可以由nginx做转发或者直接写实际地址
|
VITE_GLOB_API_URL = /basic-api
|
|
# File upload address, optional
|
# It can be forwarded by nginx or write the actual address directly
|
# 文件上传地址 可以由nginx做转发或者直接写实际地址
|
VITE_GLOB_UPLOAD_URL = /upload
|
|
# Interface prefix
|
# 接口地址前缀,有些系统所有接口地址都有前缀,可以在这里统一加,方便切换
|
VITE_GLOB_API_URL_PREFIX =
|