bam*_*asz 0 git npm ionic-framework angular
所以有这个原始 npm 包的 repo:https : //github.com/twinssbc/Ionic2-Calendar。
我想在我的项目中使用它的 fork,它不作为 npm 包存在:https : //github.com/twinssbc/Ionic2-Calendar/tree/24feacfb29102ec61d6814281867e356fb1a9ee0。
我希望能够在我的 Ionic3 项目中使用这个 fork,因为我使用原始包。我如何实现这一目标?我应该用 fork 创建我自己的 npm 包还是有一些更简单的方法?
小智 6
你也可以直接从 GitHub 上 npm install 你的特定分支。所以,在你的情况下:
npm install https://github.com/twinssbc/Ionic2-Calendar.git --save
Run Code Online (Sandbox Code Playgroud)