Home >Web Front-end >Vue.js >How to install vue scaffolding offline

How to install vue scaffolding offline

藏色散人
藏色散人Original
2021-09-11 11:24:036010browse

How to install vue scaffolding offline: 1. Enter the "c:\users\root" directory; 2. Copy the hidden folder; 3. Enter the "C:\Users\root\AppData\Roaming" directory; 4. Copy npm and npm-cache to the same directory.

How to install vue scaffolding offline

The operating environment of this article: windows7 system, vue2.9.6 version, DELL G3 computer.

Installing vue scaffolding vue-cli in offline environment

This method is suitable for those who have developed projects while connected to the Internet, and now need to move to those without projects when the network is disconnected. environment, other application environments have not been tested

Enter the following directory:

c:\users\root

Copy the hidden folder

.vue-templates

to the same directory

Enter the following Directory:

C:\Users\root\AppData\Roaming

Copy the following two folders

npm
npm-cache

to the same directory

3. Check the vue version

vue -V

to successfully display the corresponding Version number

Related recommendations: "vue.js Tutorial"

The above is the detailed content of How to install vue scaffolding offline. 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