第一次发布自己的npm插件

额需要注意的是如果你的npm不是正规的npm源的话,是不行滴

npm config get registry
https://registry.npmjs.org/
npm config set registry https://registry.npmjs.org/


//有些人可能切到了淘宝源https://registry.npm.taobao.org/
  1. npm adduser|login,填写username,email,password
  2. npm publish 即可,记得先填写好package.json
© 404mzk all right reserved,powered by Gitbookhttp://blog.404mzk.com 该文件修订时间: 2018-03-04 10:52:38

results matching ""

    No results matching ""