用npm实现cnpm,即用npm访问淘宝镜像仓库
替换npm仓库地址为淘宝镜像地址
命令: npm config set registry https://registry.npm.taobao.org 查看是否更改成功: npm config get registry
用npm实现cnpm,即用npm访问淘宝镜像仓库
替换npm仓库地址为淘宝镜像地址
命令: npm config set registry https://registry.npm.taobao.org 查看是否更改成功: npm config get registry