如何使用Bower安装jQuery?

时间:2015-06-19 16:15:12

标签: javascript jquery bower bower-install

bower install jquery运行正常。虽然我没有在http://bower.io/search/?q=owner:jquery中看到jquery。

另外https://github.com/jquery/jquery还没有bower.json我可以安装,怎么办?

1 个答案:

答案 0 :(得分:1)

如果在使用bower安装jQuery时仔细查看最后一行,可以看到bower使用了以下存储库: https://github.com/components/jquery

  

d:\ temp> bower install jquery

     

bower not-cached git://github.com/jquery/jquery.git#*

     

bower解决git://github.com/jquery/jquery.git#*

     

凉亭下载https://github.com/jquery/jquery/archive/2.1.4.tar.gz

     

bower extract jquery#* archive.tar.gz

     

bower已解决git://github.com/jquery/jquery.git#2.1.4

     

bower安装jquery#2.1.4

     

jquery#2.1.4 bower_components \ jquery

您可以在此处找到bowerwebsite上的数据包: http://bower.io/search/?q=owner:components%20property-book-client