Full-stack application for document-to-knowledge-graph pipeline: - Backend: FastAPI + LangGraph ReAct agent + DeepSeek + MinerU parsing - Frontend: React 19 + Vite + D3.js + shadcn/ui - Pipeline: MinerU parsing → LangExtract entity extraction → KG building Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
34 lines
514 B
Markdown
34 lines
514 B
Markdown
# Frontend — 开发说明
|
||
|
||
## 路径
|
||
|
||
```
|
||
F:\GraphRAGAgent\frontend\
|
||
```
|
||
|
||
## 启动开发服务器
|
||
|
||
```bash
|
||
cd F:/GraphRAGAgent/frontend
|
||
pnpm dev
|
||
```
|
||
|
||
启动后访问:http://localhost:5173
|
||
|
||
## 依赖安装
|
||
|
||
```bash
|
||
cd F:/GraphRAGAgent/frontend
|
||
pnpm install
|
||
pnpm rebuild @tailwindcss/oxide esbuild
|
||
```
|
||
|
||
> 注意:首次安装后需执行 `pnpm rebuild @tailwindcss/oxide esbuild`,否则 Vite 构建会因原生包未编译而失败。
|
||
|
||
## 构建生产包
|
||
|
||
```bash
|
||
cd F:/GraphRAGAgent/frontend
|
||
pnpm build
|
||
```
|