参考教程:
《npm发布包教程(一):从npm说起》arrow-up-right
《npm发布包教程(二):发布包》arrow-up-right
《npm发布包教程(三):安装发布包》arrow-up-right
《npm发布包教程(四):迭代》arrow-up-right
《npm发布包教程(五):废弃/删除》arrow-up-right
除了上传至 npm 来使用包之外,我们还能够借助 github,直接通过github项目安装:npm i git+https://github.com/MrEnvision/XXX.git
建议 github 项目使用 tag 来进行版本号管理,安装的时候加上版本号,npm i git+https://github.com/MrEnvision/XXX.git#版本号
如果你对内容有任何疑问,欢迎提交 ❕issuesarrow-up-right 或 ✉️ emailenvelope
最后更新于4年前