NPM和Yarn添加淘宝镜像
NPM設置淘寶鏡像
1.查詢當前配置的鏡像
npm get?registry?
>?https://registry.npmjs.org/
設置成淘寶鏡像
npm config set registry http://registry.npm.taobao.org/
?
2.換成原來的
npm config set?registry https://registry.npmjs.org/
?
Yarn 設置淘寶鏡像
1.查詢當前配置的鏡像
yarn config get registry
>?https://registry.yarnpkg.com
設置成淘寶鏡像
yarn config set registry?http://registry.npm.taobao.org/
?
近期剛上線一門基于微信小程序、公眾號和小程序云開發的微信授權、分享和支付的專項課程,如果你對支付感興趣可以考慮入手:
https://coding.imooc.com/class/343.html
React全家桶開發通用的后臺管理系統:
https://coding.imooc.com/class/236.html
Vue2.0+Vue-Router+Vuex+Node+Mongo開發全棧商城課程
https://coding.imooc.com/class/113.html
慕課講師:河畔一角
講師地址:http://www.imooc.com/u/1343480
轉載于:https://www.cnblogs.com/jacksoft/p/7826564.html
總結
以上是生活随笔為你收集整理的NPM和Yarn添加淘宝镜像的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [上架] iOS 上架更新版本号建议
- 下一篇: 结对作业2:单元测试