mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-23 23:19:19 +08:00
update: 升级vben5.5.9到5.7.0
This commit is contained in:
@@ -30,7 +30,7 @@ deploy/ # 部署 TUI(原 ecom-deploy),流程见 deploy/MANU
|
||||
|
||||
- 只允许 pnpm;先 `pnpm install`(postinstall 会跑 `stub` 构建)
|
||||
- 开发 `pnpm dev:antd`,构建 `pnpm build:antd`;类型检查 `pnpm -F @vben/web-antd typecheck`
|
||||
- lefthook 钩子会对暂存文件自动 prettier/eslint/stylelint `--fix`,commitlint 强制 conventional commit,不要绕过
|
||||
- lefthook 钩子会对暂存文件跑 `pnpm lint`(oxfmt/oxlint 等)与 `check:type`,commitlint 强制 conventional commit,不要绕过
|
||||
- 代码内 `#/` 别名 = `src/`
|
||||
- **web-antd 视图里不要用 `<Spin :spinning>` 整块包住可滚动列表**(ant-spin-container 破坏滚动链);滚动依赖 `flex-1 min-h-0 overflow-y-auto`,加载态拆细(详见 `.cursor/rules/antd-spin-scrollable-layout.mdc`)
|
||||
- 智能助手页:`views/agent/chat`;开发代理 `/api/agent` → `localhost:8200`(见 `vite.config.mts`)
|
||||
|
||||
Reference in New Issue
Block a user