Home > Development Tools > VSCode > body text

How to start react project with vscode

angryTom
Release: 2020-03-28 11:27:54
Original
8171 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!