258bccfad3
- 脚手架: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
13 lines
321 B
HTML
13 lines
321 B
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>云超服 · 运营管理平台</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|