diff --git a/docs/markdown/en/quickstart.md b/docs/markdown/en/quickstart.md index fa3d361..68cd3ed 100644 --- a/docs/markdown/en/quickstart.md +++ b/docs/markdown/en/quickstart.md @@ -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: diff --git a/docs/markdown/zh/quickstart.md b/docs/markdown/zh/quickstart.md index 1ee88ae..b217f16 100644 --- a/docs/markdown/zh/quickstart.md +++ b/docs/markdown/zh/quickstart.md @@ -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` 配置: