Yeoman generator for Twitter Bootstrap LESS based projects
This is a yeoman generator that scaffolds out a project using Twitter Bootstrap by default, expanding on yeoman's
quickstart generator. This generator will install Twitter Bootstrap, jQuery, Backbone.js, Underscore.js, Modernizr, Require.js, and require-jade.
You can install this generator globally via npm:
[sudo] npm install -g yeoman-bootstrap
I have only tested this on Mac OS X, but it should work in Windows and other *nix environments. During a global npm install, the generator will get installed in your global
node_modules directory, while a symlink to the foundation generator will be created in your global yeoman generators directory:
After copying to your global generator location, use:
yeoman init bootstrap-less
to generate the basic scaffolding for a bootstrap based project.
yeoman install jquery backbone modernizr bootstrap requirejs require-jade --save
so you don't have to after.
Note: There is a bug in Yeoman 0.9.6 that is preventing the
--save argument from adding files to
component.json. If you would like your components saved in there, run:
bower install jquery backbone modernizr bootstrap requirejs require-jade --save
to add them.
You can uninstall this generator via npm:
[sudo] npm uninstall -g yeoman-bootstrap
This will remove the symlink in your global yeoman generators directory and then proceed to delete the package.