vue3-vant4-mobile/.env.development
2024-10-11 16:28:47 +08:00

32 lines
620 B
Plaintext

# 只在开发模式中被载入
VITE_PORT = 9999
# 网站根目录
VITE_PUBLIC_PATH = /
# 是否开启mock
VITE_USE_MOCK = true
# 是否删除console
VITE_DROP_CONSOLE = false
# 跨域代理,可以配置多个,请注意不要换行
# VITE_PROXY = [["/appApi","http://localhost:8001"],["/upload","http://localhost:8001/upload"]]
# VITE_PROXY=[["/api","http://localhost:8001"]]
# API 接口地址
# 如果没有跨域问题,直接在这里配置即可
VITE_GLOB_API_URL =
# 图片上传地址
VITE_GLOB_UPLOAD_URL =
# 图片前缀地址
VITE_GLOB_IMG_URL =
# 接口前缀
VITE_GLOB_API_URL_PREFIX = /api