First, the basic plug-in installation, less load configuration file
Install the required plug-ins
- Installation react-router, axios
yarn add react-router-dom axios less-loader
- Installation antd
yarn add antd
- Exposure webpack profile
yarn eject
- Install less-loader
yarn add less@^2.7.3
- Modify less-loader