mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
docs: fix typo, ref: #3146
This commit is contained in:
parent
6745f469bb
commit
2b90ab8464
@ -58,7 +58,7 @@ $ npm install antd babel-plugin-import --save
|
||||
Edit `webpack.config.js` to integrate `babel-plugin-import`.
|
||||
|
||||
```diff
|
||||
+ webpackConfig.babel.plugins.push(['antd', {
|
||||
+ webpackConfig.babel.plugins.push(['import', {
|
||||
+ libraryName: 'antd',
|
||||
+ style: 'css',
|
||||
+ }]);
|
||||
|
@ -58,7 +58,7 @@ $ npm install antd babel-plugin-import --save
|
||||
编辑 `webpack.config.js`,使 `babel-plugin-import` 插件生效。
|
||||
|
||||
```diff
|
||||
+ webpackConfig.babel.plugins.push(['antd', {
|
||||
+ webpackConfig.babel.plugins.push(['import', {
|
||||
+ libraryName: 'antd',
|
||||
+ style: 'css',
|
||||
+ }]);
|
||||
|
Loading…
Reference in New Issue
Block a user