feat: 搭建设计生成工作台骨架
This commit is contained in:
1 parent
bf4bbf81c7
commit
083a323c1f
20 files changed
+587
-1
No files matched your search
@@ -0,0 +1,27 @@
|
||||
# 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 不连接业务数据库,也不直接写入生产模板包。
|
||||
Reference in new issue
Block a user