Skip to content

Commit 7b3cc71

Browse files
committed
update README
1 parent 81bb745 commit 7b3cc71

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.ZH-CN.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@
3333
使用 npm:
3434
```bash
3535
npm install --save-dev babel-plugin-react-directives
36+
npm install --save react-directives-runtime
3637
```
3738

3839
使用 yarn:
39-
```base
40+
```bash
4041
yarn add --dev babel-plugin-react-directives
42+
yarn add react-directives-runtime
4143
```
4244

4345
### <span id="toc-configuring">添加配置 `.babelrc`</span>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ npm install --save react-directives-runtime
3737
```
3838

3939
use yarn:
40-
```base
40+
```bash
4141
yarn add --dev babel-plugin-react-directives
4242
yarn add react-directives-runtime
4343
```

0 commit comments

Comments
 (0)