查看 npm 的基本配置:
npm config list
查看 npm 的所有配置:
npm config list -l
设置淘宝镜像:
npm config set registry=https://registry.npm.taobao.org
然后,使用 npm install 装包,速度就比较快了。
发布 问题
回到 顶部