Files
st-react/web-app/README.md
Echo f4e166c5ee 🎉 初始化项目
Signed-off-by: Echo <1711788888@qq.com>
2026-02-27 21:52:00 +08:00

56 lines
1018 B
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.

# 云酒馆前端
现代化的 SillyTavern UI采用 Glassmorphism 风格和深色主题。
## 技术栈
- React 18 + TypeScript
- Tailwind CSS
- Vite
- React Router
- Lucide Icons
## 开发
```bash
npm install
npm run dev
```
## 构建
```bash
npm run build
npm run preview
```
## 项目结构
```
src/
├── components/ # 可复用组件
│ ├── Navbar.tsx
│ ├── Sidebar.tsx
│ ├── ChatArea.tsx
│ └── ...
├── pages/ # 页面组件
│ ├── HomePage.tsx
│ ├── CharacterMarket.tsx
│ ├── CharacterManagePage.tsx
│ ├── PresetManagePage.tsx
│ └── ...
├── App.tsx # 路由配置
├── main.tsx # 入口文件
└── index.css # 全局样式
```
## 设计系统
- 主色调: #7C3AED (紫色)
- 次要色: #A78BFA (淡紫色)
- 强调色: #F97316 (橙色)
- 字体: Inter
- 风格: Glassmorphism + 深色主题
详见 [设计系统文档](../docs/design-system/)