Languages
[Edit]
EN

React - create new app

13 points
Created by:
GamerGoals22
364

In this short article, we would like to show how in simple way create React application from command line using npm.

Quick solution (run the command):

npx create-react-app my-new-app

Where: my-new-app is the project name and directory that will be created.

Note: be sure the React is installed or install it with npm install -g react.

 

After application is created, we can run it using:

# change directory to our new application
cd my-new-app

# start application with npm
npm start

 

yarn package manager

We can use yarn package manager, too:

yarn create react-app my-new-app

cd my-new-app
yarn start

 

See also

  1. React - create new TypeScript application 

Alternative titles

  1. React - create new application
  2. React - create new JavaScript app
  3. React - create new JavaScript application
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

ReactJS

React - create new app
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join