mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-25 00:05:07 +08:00
增加 front 环境配置,用于前端同学直接启动
This commit is contained in:
19
.env.front
Normal file
19
.env.front
Normal file
@ -0,0 +1,19 @@
|
||||
# 本地开发环境
|
||||
NODE_ENV=development
|
||||
|
||||
VITE_DEV=true
|
||||
|
||||
# 请求路径
|
||||
VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn'
|
||||
|
||||
# 上传路径
|
||||
VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload'
|
||||
|
||||
# 接口前缀
|
||||
VITE_API_BASEPATH=/dev-api
|
||||
|
||||
# 接口地址
|
||||
VITE_API_URL=/admin-api
|
||||
|
||||
# 打包路径
|
||||
VITE_BASE_PATH=/
|
Reference in New Issue
Block a user