1,create-react-app antd-dome1
2,npm install antd-mobile --save
3, 更改页面html
4,npm installreact-app-rewired --save-dev "start": "修改", 不修改会提示6的错误让安装
5,config-overrides.js
6,babelrc (不要) npm install customize-cra --save-dev
7,The "injectBabelPlugin" helper has been deprecated as of v2.0. You can use customize-cra plugins in
![](https://img.haomeiwen.com/i16533475/415cd1c0406f5d19.png)
网友评论