feat(web): simplify subscription and manual download flows and sync UHD styles
This commit is contained in:
1 parent
27c0f27434
commit
c3c4456913
33 files changed
+1083
-633
No files matched your search
+6
-6
@@ -1,16 +1,16 @@
|
||||
# @umt/web
|
||||
|
||||
React Router 7 SPA 控制台(`ssr:false`),沿用 uhd_web 设计系统(token 见 `app/app.css`,规范见 `docs/design/`)。只通过 `/api/v1` 与 server 通信,请求/响应类型一律来自 `@umt/contracts`,不手写重复 DTO。开发端口 5180,`/api` 代理到 http://localhost:4380。
|
||||
React Router 8 SPA 控制台(`ssr:false`),沿用 uhd_web 设计系统(token 见 `app/app.css`,规范见 `docs/design/`)。只通过 `/api/v1` 与 server 通信,请求/响应类型一律来自 `@umt/contracts`,不手写重复 DTO。开发端口 5180,`/api` 代理到 http://localhost:4380。
|
||||
|
||||
## 命令
|
||||
|
||||
在仓库根目录执行:
|
||||
|
||||
- `deno task dev:web`:开发服务器(5180)。
|
||||
- `cd apps/web && deno task build`:生产构建到 `build/client`,由 server 的 `WEB_ROOT` 同端口托管。
|
||||
- `cd apps/web && deno task test`:单测(`app/**/*.test.ts`)。
|
||||
- `deno task test:web:smoke`:Playwright 全页面冒烟,前提与环境变量见仓库 README。
|
||||
- `deno task check:tokens`:设计 token 守卫。
|
||||
- `bun run dev:web`:开发服务器(5180)。
|
||||
- `cd apps/web && bun run build`:生产构建到 `build/client`,由 server 的 `WEB_ROOT` 同端口托管。
|
||||
- `cd apps/web && bun run test`:单测(`app/**/*.test.ts`)。
|
||||
- `bun run test:web:smoke`:Playwright 全页面冒烟,前提与环境变量见仓库 README。
|
||||
- `bun run check:tokens`:设计 token 守卫。
|
||||
|
||||
## 目录
|
||||
|
||||
|
||||
Reference in new issue
Block a user