12 lines
439 B
Plaintext
12 lines
439 B
Plaintext
# 开发环境
|
||
|
||
# 前端请求的基础路径,配合 vite.config.js 的 proxy 使用
|
||
# 前端代码中所有接口都会以 /api 开头,由 vite dev server 转发到 YApi
|
||
VITE_API_BASE_URL=/api
|
||
|
||
# YApi Mock 服务地址(必填)
|
||
# 示例:https://yapi.xxx.com/mock/123
|
||
# 其中 123 为你的 YApi 项目 ID,可在 YApi 项目首页 URL 中找到
|
||
# 注意:地址末尾不要带斜杠 /
|
||
VITE_YAPI_MOCK=http://124.222.159.10:8090
|