2020-10-10 21:28:43 +08:00
|
|
|
|
# Whether to open mock
|
|
|
|
|
VITE_USE_MOCK = true
|
|
|
|
|
|
|
|
|
|
# public path
|
|
|
|
|
VITE_PUBLIC_PATH = ./
|
|
|
|
|
|
2020-10-16 22:03:44 +08:00
|
|
|
|
# Delete console
|
|
|
|
|
VITE_DROP_CONSOLE = true
|
|
|
|
|
|
2020-10-18 21:55:21 +08:00
|
|
|
|
# Whether to output gz file for packaging
|
2020-11-09 01:28:50 +08:00
|
|
|
|
VITE_BUILD_GZIP = false
|
2020-10-16 22:03:44 +08:00
|
|
|
|
|
2020-10-10 21:28:43 +08:00
|
|
|
|
# Basic interface address SPA
|
|
|
|
|
VITE_GLOB_API_URL=/api
|
|
|
|
|
|
2020-12-08 22:18:20 +08:00
|
|
|
|
# File upload address, optional
|
|
|
|
|
# It can be forwarded by nginx or write the actual address directly
|
|
|
|
|
VITE_GLOB_UPLOAD_URL=/upload
|
|
|
|
|
|
2020-10-10 21:28:43 +08:00
|
|
|
|
# Interface prefix
|
|
|
|
|
VITE_GLOB_API_URL_PREFIX=
|
2020-10-13 01:40:21 +08:00
|
|
|
|
|
2020-10-27 21:27:47 +08:00
|
|
|
|
# use pwa
|
|
|
|
|
VITE_USE_PWA = false
|
|
|
|
|
|
2020-10-13 01:40:21 +08:00
|
|
|
|
# TODO use Cdn
|
|
|
|
|
VITE_USE_CDN = true
|