Home >Web Front-end >Vue.js >How to install vue scaffolding offline
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.
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!