File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 6
6
- [ React 组件库搭建指南(四):单元测试] ( https://github.com/worldzhao/blog/issues/6 )
7
7
- [ React 组件库搭建指南(五):标准化发布流程] ( https://github.com/worldzhao/blog/issues/7 )
8
8
9
- 组件库一直是前端开发不可或缺的一环,主要是为了开发提效,避免开发同学复制粘贴和重复造轮子。
10
-
11
- 对于 2C 移动端场景而言,不同业务线的设计规范大相径庭,过于定制化,所以内部其实一直没有一套基于 React 的移动端组件库。
12
-
13
- 而对于某一条特定的业务线来讲,设计语言是能够也必须要达到统一的。
14
-
15
- 于是在部门内搭了一个简单的组件库,组件不多,但在搭建过程中掌握了很多知识,再看 antd 等热门组件库,对其中的一些设计也有了更深的感悟,故记录下来,希望能帮助到其他的同学。
16
-
17
9
[ 🚀 在线预览] ( https://worldzhao.github.io/react-ui-library-tutorial )
18
10
19
11
🚆 本地预览
20
12
21
13
``` bash
22
14
git clone git@github.com:worldzhao/react-ui-library-tutorial.git
23
15
cd react-ui-library-tutorial
24
- yarn
25
- yarn start
16
+ pnpm install
17
+ pnpm start
26
18
```
27
19
28
20
按顺序执行完命令后,即可在 localhost:3000 端口看到以下内容:
You can’t perform that action at this time.
0 commit comments