Skip to main content

Create a React app

Create a new react app inside my-app folder:

npx create-react-app my-app

Cd into the newly created folder:

cd my-app

Start the dev server:

npm start

Then navigate to:

http://localhost:3000/

Great! you just created a react app. Now you can get rid of the placeholder App component that comes up with CRA and start creating your own!

Last updated on by obenidir