Installation of the latest scaffolding of vue-cli

The official version of vue-cli 3.0 was released on August 10, 2018! As a full-time engineer, of course, you must quickly use it to keep up with it, and you do n’t need to know it, you will love it when you use it. Because the 3.0 version is much simpler than the 2.0 configuration file, it seems that most of the configuration is Put it in node_modules. So the generated scaffolding has only two main folders.

Because my computer used vue-cli2.0 before, I must uninstall 2.0 first:

  npm uninstall -g vue-cli  //卸载之前的
  npm install -g @vue/cli   //全局安装vue-cli3.0

Then vue -Vcheck the current version from the command line:

Guess you like

Origin www.cnblogs.com/yuqiliu/p/12717112.html