Mojolicious::Command::generate::bootstrap - Include Twitters Bootstrap
# 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.
Just like any other ordinary perl module:
perl Makefile.pl make make test make install
Report Bugs and Problems to cpan@sveneppler.de
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.
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
To install Mojolicious::Command::generate::bootstrap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Command::generate::bootstrap
CPAN shell
perl -MCPAN -e shell install Mojolicious::Command::generate::bootstrap
For more information on module installation, please visit the detailed CPAN module installation guide.