Home  >  Article  >  Development Tools  >  How to start react project with vscode

How to start react project with vscode

angryTom
angryTomOriginal
2020-03-28 11:27:548173browse

How to start react project with vscode

How to start react project with vscode

Requirements:

● Have nodejs environment and npm installed

● vscode installed

First create a project using the create-react-app scaffolding.

create-react-app demo

Then use vscode to start the react project:

1. Use the shortcut key ctrl ` to open the terminal in the VSCode editor

2. cd demo to enter the demo project

3. Just run the project with yarn start or npm start.

Knowledge expansion:

The relationship between node and npm: node.js is a running environment for js and a server-side js interpreter.

Node contains npm. After installing node, you will also find that npm has been installed.

npm is node’s package manager.

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of How to start react project with vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn