How to run an existing reactjs app in vscode

Running An Existing React App In VSCode

Ghost Together

--

If you’re searching for this you’re probably new to VSCode. Maybe you’ve downloaded or cloned a new React project to your hard drive and now you want to start working on the app. But first you need to run it on localhost.

You can open React for editing and building apps in VSCode. But React doesn’t run in VSCode, it runs in NodeJS. So this is why you will use Visual Studio Code side by side with your React app opened in a browser.

To run a React app you just pulled from a GitHub repository, you will first need to make sure that you have NodeJS installed on your system.

Once you download and install Node, just go through this tutorial:

How to Run Existing React App In Visual Studio Code (VSCode)
  1. Open your React project folder in VSCode
  2. Go to Terminal (click Terminal on top menu)
  3. Click New Terminal ( Ctrl + Shift + ` )
  4. Type npm start

That’s all there is to it.

--

--

Ghost Together
Ghost Together

Written by Ghost Together

Ghost Together @ https://semicolon.dev is an alternative to Twitter. Sign up to meet other makers of things.

No responses yet