首页 > 代码库 > 前端js管理利器Bower
前端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.
前端js管理利器Bower
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。