Month: January 2018

Setup React JS with NodeJS and Visual Studio Code

Posted on Updated on

Before getting started with first React JS example, download Visual Studio Code Editor that help you configure and better guidance of developing a React JS application.

Download & Install Visual Studio Code from here.
Download and install Node.Js from here.

Once the installation is done then create a root folder where do you want to set up a React JS Project.

>>cd d:
>>mkdir React
>>cd React
>>npm install –g create-react-app
>>create-react-app my-first-app
>>cd my-first-app
>>npm start

Once all step’s done successfully then the my-first-app folder will be created in your root folder React, go inside this folder and you will see all dependencies JS and related configuration files will be placed here.

Next, Open Visual Studio Code and Open project from File-> Open Folder

 

Then open http://localhost:3000/ to see your app.

Advertisements