$ npm install -g bower
※ if you dont have npm, you would install node.js to be better.
$ bower init // create bower.json
$ bower install jQuery // install latest version
$ bower install underscore#1.4.3 // specify version
$ bower install backbone --save // write bower.json
install them to ./components/[package_name].
--save option save the package to bower.json
you dont need to type "wget" any more!!
$ bower update // update libraries
$ bower search backbone
OR
$ bower lookup backbone
$ bower info backbone
$ bower register <module name> <git repository>
※ use git tag and put versions like 0.0.1, 0.0.2.
<script src="/components/jquery/jquery.js" />
<script src="/components/impress.js/js/impress.js" />
bower does not have layout manager...
grunt-bower-task can align our js/css to be better.
lib
|-- js
| |- jquery
| | |- jquery.js
| |
| \- impress
| |- impress.js
|-- css
\- impress
|- impress.css
<link href="css/bootstrap.css" />
<script src="js/jquery.js" />
<script src="js/impress.js" />
yeoman can generate application templates.
Use a spacebar or arrow keys to navigate