Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome or Safari browser. Firefox 10 (to be released soon) will also handle it.

Bower/Yeoman

Who are you ?

Yosuke!

icon

Working at : dena

Twitter : @yosuke_furukawa

Blog : from scratch

Community : node

What is Bower ?

Super Fast Bower Demo

Install

$ npm install -g bower

※ if you dont have npm, you would install node.js to be better.

Install

$ 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!!

Update

$ bower update // update libraries

search modules

$ bower search backbone

OR

$ bower lookup backbone

get more infomation

$ bower info backbone

If you have cool client modules

$ bower register <module name> <git repository>

※ use git tag and put versions like 0.0.1, 0.0.2.

HOWEVER, Bower has some uncool points...

html script and link

<script src="/components/jquery/jquery.js" />
<script src="/components/impress.js/js/impress.js" />

bower does not have layout manager...

Use grunt-bower-task

grunt-bower-task can align our js/css to be better.

lib
|-- js
|   |- jquery
|   |  |- jquery.js
|   |
|   \- impress
|      |- impress.js
|-- css
    \- impress
       |- impress.css

YEAH !!

<link href="css/bootstrap.css" />
<script src="js/jquery.js" />
<script src="js/impress.js" />

So simple.

Yeoman

So you want to create your own templates??

yeoman

yeoman can generate application templates.

DEMO

demo site

Summary

DeNA NEEDS YOU!!!

Use a spacebar or arrow keys to navigate