NAME

Mojolicious::Command::generate::bootstrap - Include Twitters Bootstrap

SYNOPSIS

   # Run within an existing Mojolicious App
   mojo genereate bootstrap

Will automagically unload following files:

   $APPHOME/public/css/bootstrap.min.css
   $APPHOME/public/js/bootstrap.min.js
   $APPHOME/public/img/glyphicons-halflings.png
   $APPHOME/public/img/glyphicons-halflings-white.png
   $APPHOME/templates/layouts/bootstrap.html.ep

So you only have to include those into your Templates/Layouts or use the enhanced default layout "bootstrap.html.ep".

Currently bundled with this Module is Version 2.3.0 of the Twitter Bootstrap Library.

INSTALL

Just like any other ordinary perl module:

   perl Makefile.pl
   make
   make test
   make install

SUPPORT

Report Bugs and Problems to cpan@sveneppler.de

LICENSE AND COPYRIGHT

Bootstrap Library Copyright 2013 by Twitter under the Apache License 2.0 (http://twitter.github.com/bootstrap/)

Mojolicious::Command::generate::bootstrap Copyright 2013 by Sven Eppler (cpan@sveneppler.de)

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

CHANGES

  • 0.03 - 01.03.2013: Missing Escapes when generating the bootstrap.html.ep layout file

  • 0.02 - 28.02.2013: Included an enhanced default layout, idea by Tetsuya Tatsumi

  • 0.01 - 19.02.2013: Initial CPAN Version