前端js管理利器Bower
项目地址: http://bower.io/
bower 框架搜索地址:http://bower.io/search/
Install Bower
Bower is a command line utility. Install it with npm.
$ npm install -g bower
Bower requires Node and npm and Git.
Getting started
Install packages
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
Search packages
Search Bower packages and find the registered package names for your favorite projects.
Save packages
Save your packages to bower.json
with bower init
.
Use packages
How you use packages is up to you. Use Bower together with Grunt, RequireJS, Yeoman, and lots of other tools or build your own workflow with the API.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。