Archive the differentiated YuXinGu product docs, AI engineering system, design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity over early innovation (see .ai/product/STRATEGY.md). Co-authored-by: Cursor <cursoragent@cursor.com>
652 B
652 B
Playbook: New H5 Page
Use when: “新增页面”
Steps
- Confirm IA tab vs secondary page (
.ai/ui.md) - Read
.ai/design/design-system.md+component-catalog.md+design/platform/h5.md - Reuse catalog components; update catalog if adding a new one
- Add route in
apps/user-h5/src/router - Add
pages/XxxPage.vue(PascalCase); tokens only (no raw brand hex) - Extract components if file approaches 300–400 lines
- Data via
src/api→@yuxingu/sdkonly - Use domain words from
.ai/domain.md - Loading / empty / error states
- Compliance copy if report-like
npm run build:h5- Review + checklist/feature.md