Files
Pine 258bccfad3 chore: 初始化云超服运营管理平台(admin-portal)
- 脚手架:Vite6 + React18 + TypeScript(strict) + Tailwind4
- shadcn/ui 基座(依 design/installation.md):components.json + src/components/ui/* + cn(),radix-ui 单片
- 认证:登录(密码+多身份选择 select-identity),lib/auth.tsx(上下文+localStorage)
- RBAC:lib/rbac.tsx 八端口导航过滤 + App.tsx RequireAuth/RoleRoute
- 布局:AppShell(侧边栏+顶栏+身份切换+用户菜单)
- API:client.ts(fetch+token+401登出) + resources.ts(用户/课程/活动/报名/测评/算力/园区)
- 页面:登录/总览 + 用户/课程/活动/报名/测评/算力/园区 7 个管理页(未实现端点优雅降级)
- npm run build 通过;.env.example / README.md / .gitignore
2026-08-24 13:07:09 +08:00

10 lines
333 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 后端(server-core)地址;留空走 vite 代理(见 vite.config.ts),开发默认 http://127.0.0.1:8090
# 生产指向 gatewayhttps://opc.pinesound.cn/api/v1
VITE_API_BASE_URL=
# vite 开发代理目标(仅 dev 生效)
VITE_API_PROXY=http://127.0.0.1:8090
# 部署基础路径(如 /admin/
VITE_BASE_PATH=/