Vue-cli2 is particularly slow to create projects

I installed and configured Taobao mirror before using vue scaffolding to create the project. After that, vue scaffolding found that it was very slow to create the project, and npm install was stuck there directly

The problem has been solved using the following methods:

Through vue init webpack projectNamenew projects and Taobao is the mirror does not matter, since vue-cli npm source is used, so long as the source is set npm on the line, you can create a speed upgrade, run the following command:

npm config set registry https://registry.npm.taobao.org

Reference:
vue-cli is particularly slow to create projects

Guess you like

Origin blog.csdn.net/weixin_45844049/article/details/113884776