Files
persionalBrand/apps/design-lab/README.md
T

28 lines
734 B
Markdown

# Personal Brand Design Lab
Design Lab 是内部设计生产工具,用 `DesignSpec` 生成可预览、可校验的移动端 HTML 设计稿。
## 开发
```bash
pnpm --filter @personal-brand/design-lab dev
```
默认端口是 `3010`,可通过 `DESIGN_LAB_PORT` 覆盖。
## 验证
```bash
pnpm --filter @personal-brand/design-spec test
pnpm --filter @personal-brand/design-lab test
pnpm --filter @personal-brand/design-spec typecheck
pnpm --filter @personal-brand/design-lab typecheck
pnpm --filter @personal-brand/design-lab build
```
## 边界
- DesignSpec 是唯一源头。
- HTML 是设计稿和转换依据,不直接进入线上项目。
- Design Lab 不连接业务数据库,也不直接写入生产模板包。