2022-11-24 23:37:34 +08:00
|
|
|
|
# 只在开发模式中被载入
|
|
|
|
|
|
|
|
|
|
# 网站根目录
|
2023-02-08 20:29:34 +08:00
|
|
|
|
VITE_PUBLIC_PATH=/
|
2022-11-24 23:37:34 +08:00
|
|
|
|
|
|
|
|
|
# 网站前缀
|
2023-02-08 20:29:34 +08:00
|
|
|
|
VITE_BASE_URL=/
|
2022-11-24 23:37:34 +08:00
|
|
|
|
|
|
|
|
|
# 是否删除console
|
2023-02-08 20:29:34 +08:00
|
|
|
|
VITE_DROP_CONSOLE=true
|
2022-11-24 23:37:34 +08:00
|
|
|
|
|
|
|
|
|
# 跨域代理,可以配置多个,请注意不要换行,如果是公网运行,请改成公网IP:服务端运行端口
|
|
|
|
|
#VITE_PROXY = [["/appApi","http://localhost:8001"],["/upload","http://localhost:8001/upload"]]
|
2023-01-18 16:23:39 +08:00
|
|
|
|
VITE_PROXY=[["/admin","http://localhost:8000/admin"]]
|
2022-11-24 23:37:34 +08:00
|
|
|
|
|
|
|
|
|
# API 接口地址
|
2023-02-08 20:29:34 +08:00
|
|
|
|
VITE_GLOB_API_URL=
|
2022-11-24 23:37:34 +08:00
|
|
|
|
|
|
|
|
|
# 图片上传地址
|
|
|
|
|
VITE_GLOB_UPLOAD_URL=
|
|
|
|
|
|
|
|
|
|
# 图片前缀地址
|
|
|
|
|
VITE_GLOB_IMG_URL=
|
|
|
|
|
|
|
|
|
|
# 接口前缀
|
2023-02-08 20:29:34 +08:00
|
|
|
|
VITE_GLOB_API_URL_PREFIX=/admin
|