Home>Article>Development Tools> How to import node project in vscode

How to import node project in vscode

angryTom
angryTom Original
2020-02-05 09:36:10 6055browse

This article will introduce how to use vscode to import a node project, which has certain reference value. I hope it will be helpful to people who don’t understand the vscode development tool!

How to import node project in vscode

How to import node project from vscode

1. Click [File]-[Open Folder] on the VSCode menu bar and select Your node project;

2. Right-click the project directory and open cmd (open in the terminal);

3. Enternpm installin the console terminal Add package dependencies;

How to import node project in vscode

4. Enternpm run devto run the project. The project will be run in the browser

How to import node project in vscode

Different node projects may have different running commands, most of which arenpm start. The specific startup script can be viewed in the package.json file!

Recommended related articles and tutorials:vscode tutorial

The above is the detailed content of How to import node project in 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