Files
craftlabs-authorization-sdk/web/delivery-platform-ui
huangping 5fe7181b35 feat(i7): async webhook delivery queue, OPS RBAC, UI role routing; docs and runbook
- Architect: I7_DESIGN.md, I7_IMPLEMENTATION_REVIEW.md; parallel index + track B
- Backend: @EnableMethodSecurity; OPS login; CallbackInbox PreAuthorize; IntegrationCatalog triple role
- Webhook: V2 webhook_platform_delivery; planner + scheduler + single-shot forwarder; tests
- Frontend: Pinia hasAnyRole; MainLayout/HomeView/router for OPS vs dev
- Runbook §10.5 delivery config

Made-with: Cursor
2026-04-06 23:01:10 +08:00
..

delivery-platform-uiI1

Vue 3 + Vite + Element Plus + Pinia,对齐 tracks/02

开发

  1. 先启动后端:mvn -f ../../services/pom.xml -pl delivery-platform-api spring-boot:run(工作目录可自调)
  2. 安装依赖并启动:
cd web/delivery-platform-ui
npm install
npm run dev

浏览器访问 http://127.0.0.1:5173,登录 admin / admin/api 由 Vite 代理到 8080

生产 / Staging 构建(VITE_API_BASE

静态部署到 Nginx 且 API 为独立主机 时,构建前设置后端根 URL尾部斜杠;axios 仍请求 /api/v1/...):

VITE_API_BASE=https://your-platform-api.example.com npm run build

I6_CLOSEOUT.md §4 环境矩阵一致。本地开发通常 不设 该变量。

构建

npm run build