React family bucket (two) - Note Project engineering structures

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

 

 

Second, the main structure of the development project

Third, the menu component development

Fourth, the head component development

Fifth, the bottom component development

Guess you like

Origin www.cnblogs.com/huiguniang/p/11778428.html