Because of being laughed at today! Specially review the
installation of scaffolding
npm i create-react-app -g
// Install scaffolding globally
2
Use scaffolding
// Create project
create-react-app [项目名]
//Note: the project name cannot contain capital letters, it will report an error
3
commonly used scaffolding commands
//Run the project
npm run start/npm start
//Decompilation (Exposing the webpack configuration of the project)
npm run eject
npm run test
//test
npm run build
//Bale