给npm换成国内源,提高creat-react-app的安装速度

通过命令行输入下面代码

npm config set registry https://registry.npm.taobao.org
-- 配置后可通过下面方式来验证是否成功
npm config get registry

参考文献

create-react-app慢的解决方法

猜你喜欢

转载自blog.csdn.net/sinat_41696687/article/details/115251615