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

How to install vue scaffolding offline

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

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

Copy the hidden folder

.vue-templates
Copy after login

to the same directory

Enter the following Directory:

C:\Users\root\AppData\Roaming
Copy after login

Copy the following two folders

npm
npm-cache
Copy after login

to the same directory

3. Check the vue version

vue -V
Copy after login

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!

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