赞
踩
由于npm源在国外,出现安装异常或比较慢的情况,使用cnpm(淘宝镜像)来解决。
安装cnpm
npm install -g cnpm --registry=http://registry.npmmirror.com
使用cnpm(同npm一样)
cnpm install