天天看点

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

通过命令行输入下面代码

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

参考文献

create-react-app慢的解决方法

继续阅读