mirror of
https://github.com/musistudio/claude-code-router.git
synced 2025-10-04 05:42:08 +08:00
- Created separate build script to handle both CLI and UI building - Added automatic UI dependency installation - Copy built UI artifacts to dist directory 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
No EOL
934 B
Markdown
23 lines
No EOL
934 B
Markdown
# 项目指南
|
||
|
||
> 这是一个用于设置配置的前端项目,配置格式参考config.example.json
|
||
|
||
## 技术栈
|
||
1. 使用pnpm作为包管理工具
|
||
2. 使用vite.js作为构建工具
|
||
3. 使用react.js + tailwindcss + shadcn-ui构建前端界面
|
||
|
||
## UI设计
|
||
采用现代化的UI风格,让界面整体体现出呼吸感。整体配置应该简洁和通俗易懂,需要有必要的校验,易用的交互体验。
|
||
|
||
## 接口设计
|
||
不需要实现任何接口,但你需要根据config.example.json文件的内容mock数据
|
||
|
||
## 代码指引
|
||
在使用任何库之前你都需要使用websearch工具查找最新的文档,不要使用你知识库的内容,即使是显而易见的你以为的确定性的知识。
|
||
|
||
## 多语言设计
|
||
项目需要同时支持中文和英文
|
||
|
||
## 构建发布
|
||
最后需要构建出一个HTML文件,其中所有的js和css采用内联的方式,构建产物应该只包含一个html文件。 |