1. 维护代码健壮

2. 更新项目结构文档
This commit is contained in:
技术老胡
2026-04-27 16:20:41 +08:00
parent 9a16a88640
commit 0e5de50337
198 changed files with 21038 additions and 702 deletions

18
doc/deployment/mer.md Normal file
View File

@@ -0,0 +1,18 @@
# 商户后台部署
命令默认在 `mer/` 目录执行。
```bash
pnpm install
pnpm build:prod
```
产物在 `dist/`
## 路径
- 开发公共路径:`/mer`
- 生产默认公共路径:`/`
- 生产接口基址:`VITE_APP_BASE_URL=/`,运行时请求 `/merapi`
部署到子路径时,同步调整 `VITE_PUBLIC_PATH` 和网关重写规则。