2020-10-10 21:28:43 +08:00
|
|
|
|
# Whether to open mock
|
2021-01-24 21:38:55 +08:00
|
|
|
|
VITE_USE_MOCK = true
|
2020-10-10 21:28:43 +08:00
|
|
|
|
|
|
|
|
|
# public path
|
2021-01-11 00:16:44 +08:00
|
|
|
|
VITE_PUBLIC_PATH = /
|
2020-10-10 21:28:43 +08:00
|
|
|
|
|
2021-02-22 00:01:03 +08:00
|
|
|
|
# Whether to enable gzip or brotli compression
|
2021-02-13 00:26:41 +08:00
|
|
|
|
# Optional: gzip | brotli | none
|
|
|
|
|
# If you need multiple forms, you can use `,` to separate
|
2021-02-17 22:07:22 +08:00
|
|
|
|
VITE_BUILD_COMPRESS = 'none'
|
2020-10-16 22:03:44 +08:00
|
|
|
|
|
2021-04-05 22:00:54 +08:00
|
|
|
|
|
2020-10-10 21:28:43 +08:00
|
|
|
|
# Basic interface address SPA
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_API_URL = /basic-api
|
2020-10-10 21:28:43 +08:00
|
|
|
|
|
2020-12-08 22:18:20 +08:00
|
|
|
|
# File upload address, optional
|
|
|
|
|
# It can be forwarded by nginx or write the actual address directly
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_UPLOAD_URL = /upload
|
2020-12-08 22:18:20 +08:00
|
|
|
|
|
2020-10-10 21:28:43 +08:00
|
|
|
|
# Interface prefix
|
2024-04-22 09:00:49 +08:00
|
|
|
|
VITE_GLOB_API_URL_PREFIX =
|