Vben
2021-08-03 5e17cc8802db73703c88b2479d394f4700869018
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Whether to open mock
VITE_USE_MOCK = true
 
# public path
VITE_PUBLIC_PATH = /
 
# Cross-domain proxy, you can configure multiple
# Please note that no line breaks
VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
# VITE_PROXY=[["/api","https://vvbin.cn/test"]]
 
# Delete console
VITE_DROP_CONSOLE = false
 
# Basic interface address SPA
VITE_GLOB_API_URL=/basic-api
 
# File upload address, optional
VITE_GLOB_UPLOAD_URL=/upload
 
# Interface prefix
VITE_GLOB_API_URL_PREFIX=