Commit Graph

3 Commits

Author SHA1 Message Date
87a1f39d51 docs: 更新 CLAUDE.md 和 dev-spec.md — Phase 3 完成
- CLAUDE.md: 更新 Current Status、Architecture 树、Auth flow 说明
- dev-spec.md: 更新状态为 Phase 3 已完成

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 18:23:58 +08:00
f73246b523 docs: 更新 CLAUDE.md — Phase 2 完成 2026-04-08 12:30:54 +08:00
ccc32538a1 初始化项目骨架(Phase 1a)
- Vite + React + TypeScript 项目初始化
- Tailwind CSS v4 + shadcn/ui 配置(button, card, input, label)
- React Router v7 路由:登录页、数据看板、题库/分类/用户/设置占位页
- AdminLayout 布局:侧边栏导航 + 顶栏
- ky v2 HTTP 客户端,自动附加 Bearer token
- Zustand auth store + localStorage 持久化
- 认证保护:未登录自动重定向到 /login
- 数据看板骨架(4 统计卡片 + 图表占位)
- 类型定义:question, user, category, api
2026-04-07 10:51:22 +08:00