feat: add WonderQ admin UI
This commit is contained in:
31
README.md
31
README.md
@@ -1,2 +1,31 @@
|
||||
# WonderQ-Admin-UI
|
||||
# WonderQ-Admin-UI
|
||||
|
||||
独立的 WonderQ 后台管理前端,基于 Vite、React、TypeScript 和普通 CSS。
|
||||
|
||||
## 本地启动
|
||||
|
||||
1. 安装依赖:
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
```
|
||||
|
||||
2. 确认后端 API 运行在 `http://localhost:4000`。
|
||||
|
||||
3. 启动后台 UI:
|
||||
|
||||
```bash
|
||||
yarn dev
|
||||
```
|
||||
|
||||
访问:http://localhost:5601
|
||||
|
||||
默认后台账号由 `WonderQ-Admin` 提供:`admin@example.com / ChangeMe123!`。
|
||||
|
||||
## 目录说明
|
||||
|
||||
- `src/`:后台管理 UI 和 API 客户端。
|
||||
- `public/assets/`:后台预览所需静态资源,保留 `/assets/...` 引用方式。
|
||||
- `vite.config.ts`:开发环境将 `/api` 代理到 `http://localhost:4000`。
|
||||
|
||||
本仓库已经独立,不再依赖 `WonderQ-MiniAPP` 的相对路径。
|
||||
|
||||
Reference in New Issue
Block a user