reactjsvisual-studio-codeliveserver

Liveserver doesn't work with react js in VSCode


I am using React.js with the live server plugin in VSCode and when using live server I get this page: The problem


Solution

  • With react, you don't have to use liveserver. Go to your terminal and then navigate to the root of your react project and then run npm start.

    This information is also available in the create-react-app docs