Home > Web Front-end > Vue.js > body text

Vue scaffolding construction process

藏色散人
Release: 2023-01-13 00:45:12
Original
5931 people have browsed it

The process of building vue scaffolding is: first install node.js; then use npm to install vue-cil or use the "cnpm install -g vue-cli" command to install vue scaffolding; finally use vue scaffolding to build the vue project .

Vue scaffolding construction process

The operating environment of this article: windows7 system, vue2.0 version, Dell G3 computer.

Before building a vue project, you need to install vue's scaffolding and node.js. Let's take a look at the process of building vue scaffolding.

vue scaffolding construction process:

1. Install node.js

Download address: http://nodejs.cn/

After the installation is completed, you can Open the cmd console and enter the command above. When the version number appears, the installation is successful.

Vue scaffolding construction process

2. Install vue scaffolding

Install vue-cil globally, also It is the so-called scaffolding

1. Use npm to install (international open source library ecosystem)

Vue scaffolding construction process

2. Use cnpm to install vue scaffolding

cnpm install -g vue-cli
Copy after login

Finally check whether you have installed it: (vue -V) Remember -V here is the capital letter V

Then you can use vue scaffolding to build the vue project.

Related recommendations: "vue.js Tutorial"

The above is the detailed content of Vue scaffolding construction process. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
vue
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