Skip to content

Commit b2a25f0

Browse files
author
zhaozhiwen
committed
docs: 增加预览步骤以及预览图
1 parent 20b0f6a commit b2a25f0

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,19 @@
5757

5858
[仓库地址](https://github.com/worldzhao/react-ui-library-tutorial)
5959

60+
效果预览:
61+
62+
```bash
63+
git clone [email protected]:worldzhao/react-ui-library-tutorial.git
64+
cd react-ui-library-tutorial
65+
yarn
66+
yarn start
67+
```
68+
69+
按顺序执行完命令后,即可在 localhost:3000 端口看到以下内容:
70+
71+
![preview.png](https://tva1.sinaimg.cn/large/007S8ZIlgy1gete7pnjdkj31j90u00yn.jpg)
72+
6073
## 准备工作
6174

6275
### 初始化项目
@@ -751,7 +764,7 @@ exports.onCreateWebpackConfig = args => {
751764

752765
执行`yarn build:types`,可以发现根目录下已经生成了`lib`文件夹(`tsconfig.json`中定义的`declarationDir`字段),目录结构与`components`文件夹保持一致,如下:
753766

754-
**types**
767+
**lib**
755768

756769
```
757770
├── alert

0 commit comments

Comments
 (0)