首页 > Web开发 > 详细

Bower:a package manager for the web

时间:2015-04-15 23:15:45      阅读:341      评论:0      收藏:0      [点我收藏+]

Bower keeps track of these packages in a manifest file, bower.json.

Install Bower

Bower is a command line utility. Install it with npm.

$ npm install -g bower

Bower requires Node and npm and Git.

Install packages with bower install. Bower installs packages to bower_components/.

$ bower install <package>

A package can be a GitHub shorthand, a Git endpoint, a URL, and more. Read more about bower install.

# registered package
$ bower install jquery
# GitHub shorthand
$ bower install desandro/masonry
# Git endpoint
$ bower install git://github.com/user/package.git
# URL
$ bower install http://example.com/script.js

Bower:a package manager for the web

原文:http://www.cnblogs.com/zhangjing3326/p/4430419.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!