Install create-react-app globally:
Use NPM install -g create-react-app to install scaffoldingCopy the code
2. Create projects
In the current directory, use create-react-app my-app to create javascript-supported projects or use create-react-app my-app --template-typescript to create typescript Supported projectsCopy the code
3. Run the project
npm run start
Copy the code
4. Package projects
npm run build
Copy the code