Home > Development Tools > VSCode > body text

How to build a simple framework with vscode

王林
Release: 2020-02-10 13:50:59
Original
3564 people have browsed it

How to build a simple framework with vscode

This article takes the vscode vue framework construction as an example.

Step one:

Install node.js

After the installation is completed, open cmd: node -v to view the version (npm integrated, you can view it directly), the following picture is displayed Installation successful

How to build a simple framework with vscode

Step 2:

Install Taobao image:npm install -g cnpm --registry=https://registry.npm .taobao.org

How to build a simple framework with vscode

Step Three:

Install the scaffolding: npm install -g @vue/cli

How to build a simple framework with vscode

Step 4:

Create a project: Enter the location of your own project (example: d)

How to build a simple framework with vscode

Create: vue create hello_vue

How to build a simple framework with vscode

Step 5:

Install vscode, open the tool, file—》open folder —》Open the project file

ctrl ~Open the console; reinstall dependencies: cnpm install

# will appear in the project framework after installation How to build a simple framework with vscode

##Then start running the project!

Run:

npm run dev

Recommended related articles and tutorials:

vscode tutorial

The above is the detailed content of How to build a simple framework 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