安装使用 antd 组件时遇到的坑:The "injectBabelPlugin" helper has been deprecated as of v2.0. You can use customize-cra plugins in replacement - https://github.com/arackaf/customize-cra#available-plugins
解决方法:
1、把react-app-rewired 进行降级
$ yarn add react-app-rewired@2.0.2-next.0
或者使用npm i react-app-rewired@2.0.2-next.0
2、重新npm install,再运行npm start