feat(web): I1 shell and I2 customer/project UI

Vue 3 + Element Plus layout with JWT login, RBAC routes, axios 401
handling with token restore, and Customers/Projects views wired to
platform APIs.

Made-with: Cursor
This commit is contained in:
2026-04-06 21:05:02 +08:00
parent 3f577b34d5
commit 65eb983035
18 changed files with 2939 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# delivery-platform-uiI1
Vue 3 + Vite + Element Plus + Pinia,对齐 [tracks/02](../../docs/engineering/tracks/02-frontend-platform-ui.md)。
## 开发
1. 先启动后端:`mvn -f ../../services/pom.xml -pl delivery-platform-api spring-boot:run`(工作目录可自调)
2. 安装依赖并启动:
```bash
cd web/delivery-platform-ui
npm install
npm run dev
```
浏览器访问 `http://127.0.0.1:5173`,登录 `admin` / `admin``/api` 由 Vite 代理到 `8080`
## 构建
```bash
npm run build
```