Initialize project
React 18 + TypeScript + Vite, Tailwind/shadcn only when the task needs reusable UI primitives.
当请求需要 React、TypeScript、Vite、shadcn/ui、状态管理或内部路由时,先把组件结构和 bundle 边界讲清,再交付可打开的单 HTML 或真实项目目录。
React 18 + TypeScript + Vite, Tailwind/shadcn only when the task needs reusable UI primitives.
App shell, routes, feature panels, state store, error boundary, import/export controls.
Build and inline assets into a single HTML artifact; do not claim dependencies exist if this step has not run.
Open the bundled file, check actions, runtime errors, mobile/desktop viewports, and export payload.
React bundle 模式:复杂应用先用项目结构开发,再打包成单 HTML。