【发布时间】:2015-03-11 15:41:22
【问题描述】:
我知道这可能违反惯例:
我正在尝试安装一个 bower 组件,它的 bower.json 不位于存储库的顶层,所以效果如下:
bower install https://github.com/myrepo/my-components/tree/master/my-specific-component
然而 bower 的回应如下:
bower not-cached https://github.com/my-repo/my-components/tree/master/my-specific-component#*
bower resolve https://github.com/my-repo/my-components/tree/master/my-specific-component#*
bower download https://github.com/my-repo/my-components/tree/master/my-specific-component
bower EHTTP Status code of 404
如何从这样的存储库的子目录安装组件?
【问题讨论】: