web-profile

React CLI

Create and run new React app:

npx create-react-app react-app
cd react-app
npm start

Starts the development server

npm start

Bundles the app into static files for production

npm run build

Starts the test runner

npm test

Serve build folder with a static server

npm install -g serve
serve -s build

Leave a Reply

Your email address will not be published.