Go to file
sp mac bookpro 2605 c02c83083d fix: 复制工具集后若取消编辑则移除临时副本 2026-07-22 14:13:26 +08:00
.trae/rules feat: 支持外部工具集快速复制并自动进入编辑状态 2026-07-22 13:56:56 +08:00
.vite/deps fix: use coverUrl from API response for points mall product cover 2026-06-12 23:04:53 +08:00
public refactor: batch convert mobile layout from px to rem for better h5 adaptation 2026-06-12 22:20:12 +08:00
src fix: 复制工具集后若取消编辑则移除临时副本 2026-07-22 14:13:26 +08:00
.env.example chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
.gitignore fix: remove npm cache 2026-07-06 21:37:08 +08:00
README.md fix: remove npm cache 2026-07-06 21:37:08 +08:00
design-qa.md refactor: batch convert mobile layout from px to rem for better h5 adaptation 2026-06-12 22:20:12 +08:00
index.html refactor: batch convert mobile layout from px to rem for better h5 adaptation 2026-06-12 22:20:12 +08:00
package-lock.json chore: update package-lock after npm install 2026-06-12 22:53:43 +08:00
package.json .. 2026-06-05 23:10:15 +08:00
tsconfig.json chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
vite.config.ts feat: 统一 API 地址并完善响应式页面 2026-07-18 12:28:53 +08:00

README.md

aura-web

Aura Agent Platform 前端项目React + Vite + TypeScript

rh-agent-platform/web/ 拆分独立而来。后端代码现位于平级项目 aura-server

本地开发

npm install
npm run dev          # http://localhost:5173

默认 /api 代理到 http://localhost:4001(即 aura-server 的 Go 服务)。 如需切换:

VITE_API_TARGET=http://localhost:4000 npm run dev

构建

npm run build        # 产物输出至 dist/
npm run preview      # 本地预览

发布

1、本地执行

npm run build

2、本地执行上传 dist 到服务器):

rsync -avz --delete dist/ root@125.94.46.105:/var/www/aura-web/

目录结构

src/
├── components/   公共组件
├── pages/        路由页面
├── store/        Zustand 状态
├── api.ts        REST/SSE 客户端
└── main.tsx      入口