Friday, 9 July 2021

Create new react application

 Here I am going to explain how to create react application


   Before proceeding to create new application make sure NPM and node.js installed.

   Run the below command to install creat-react-app

           npm install -g create-react-app

  After installing create-react-app. Create the new application using below command

                   npx create-react-app myfirstreact

       

   After creating application open Visual Studio code to open your react application. And run below command to start your application

                    npm start

No comments:

Post a Comment