Vue. The Installation
The first step to install npm
First of all: start nodejs.org download nodejs
Until Finish to complete the installation.
Open the control command-line program (CMD), check whether it is normal
Use Taobao NPM mirror
Domestic direct use of official mirror npm is very slow, it is recommended to use Taobao NPM mirror.
$ Altitude install -g cnpm --registry = https: //registry.npm.taobao.org
So that you can use cnpm command to install the module.