文件
hyb-oa/.trellis/spec/frontend/index.md
T

1.2 KiB

Frontend Development Guidelines


Overview

hyb-oa frontend work uses React, TypeScript, Vite and Tailwind under client/. The project-specific frontend/design rules live in ../hyb-oa/frontend-react-vite-design.md; detailed visual facts remain in docs/产品设计规则.md.


Guidelines Index

Guide Description Status
hyb-oa Frontend Rules Current project frontend/design rules Current
Directory Structure Module organization and file layout Scaffold
Component Guidelines Component patterns, props, composition Scaffold
Hook Guidelines Custom hooks, data fetching patterns Scaffold
State Management Local state, global state, server state Scaffold
Quality Guidelines Code standards, forbidden patterns Scaffold
Type Safety Type patterns, validation Scaffold

Language

Project rules are Chinese-first where they are user-facing. Short English files generated by Trellis may remain when they are tool-facing scaffolding.