react-phone-apps/.blueprint/modules/app-scaffold.md
lanrtop a0929de768 chore: 初始化项目结构与蓝图
- 配置 pnpm workspace monorepo 基础结构
- 初始化 .blueprint/ 蓝图:6 个业务模块、21 张任务卡
- 目标:Z Fold 6 折叠屏不动产物品摸底统计 App(React Native + Expo)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 15:23:39 +09:00

29 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: app-scaffold
name: 应用脚手架模板
area: frontend
status: concept
---
## 概述
新 app 的起始模板,包含 Vite 项目配置、HTML 入口、React 根组件、环境变量规范。monorepo 中每个 app 从此模板派生。
## 任务卡
### 💭 创建第一个 Appapps/app-one
- status: concept
- complexity: M
- files: apps/app-one/package.json, apps/app-one/vite.config.ts, apps/app-one/index.html, apps/app-one/src/main.tsx, apps/app-one/src/App.tsx
- acceptance: pnpm dev 能启动pnpm build 产出 dist/src/App.tsx 渲染 Hello World正确引入 @repo/ui@repo/utils
### 💭 移动端视口基础配置
- status: concept
- complexity: S
- files: apps/app-one/index.html, apps/app-one/src/styles/global.css
- acceptance: meta viewport 设置 initial-scale=1禁用双击缩放全局 CSS reset 适配移动端100dvh、touch-action 等)
## 决策记录
- 每个 app 独立配置 Vite 而非共享一个构建进程:便于各 app 独立部署和差异化配置,构建缓存也可隔离