Skip to content

Commit

Permalink
fix AT-UI#102 npm install babel-plugin-import
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 committed Apr 18, 2018
1 parent 417a6f9 commit 3651286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/markdown/en/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ this.$Notify(config)
The components that can be registered locally are applicable to scenarios that are used to combination with other frameworks. Firstly, you can load components on demand and reduce the size of files by using the [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) plugin.

```bash
npm install babel-plugin-component
npm install babel-plugin-import
```

Then update `.babelrc` file:
Expand Down
2 changes: 1 addition & 1 deletion docs/markdown/zh/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ this.$Modal.alert(config)
可以局部注册所需的组件,适用于与其他框架组合使用的场景。首先我们需要借助 [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) 插件以达到减小项目体积的目的。

```bash
npm install babel-plugin-component
npm install babel-plugin-import
```

然后修改 `.babelrc` 配置:
Expand Down

0 comments on commit 3651286

Please sign in to comment.