【问题标题】:How to install entire git repo with bower如何使用 bower 安装整个 git repo
【发布时间】:2016-08-08 18:49:03
【问题描述】:

我想使用 bower 安装 jquery 插件chosen。我一直在运行以下命令:

bower install chosen --save

当它安装它时,它只获取所有已编译的文件并且没有获取原始的 sass 文件。有没有办法让 bower 下载整个存储库,以便我也获取源文件?

【问题讨论】:

    标签: git bower


    【解决方案1】:

    chosen 包注册到https://github.com/harvesthq/chosen-package

    根据Bower doc,您可以使用其 git 端点安装所选源:

    步骤:

    bower uninstall --save chosen 
    bower install --save https://github.com/harvesthq/chosen.git
    

    然后你会在bower_component/chosen看到整个事情。

    【讨论】:

      猜你喜欢
      • 2016-01-29
      • 2013-06-01
      • 2019-08-20
      • 2020-04-17
      • 2014-09-11
      • 1970-01-01
      • 2016-10-28
      • 2017-02-21
      相关资源
      最近更新 更多