A Brunch skeleton that utilizes Bootstrap, Backbone, Handlebars, and LESS / SASS.
Banana Pancakes is a Brunch skeleton that utilizes Bootstrap, Backbone, Handlebars, and LESS / SASS. It also includes Backbone.Mediator for Pub/Sub patterns.
Create your project using Banana Pancakes with brunch new github:Anaphase/brunch-banana-pancakes <your-project-name>
.
Or simply copy the repository to your hard drive and rename it.
brunch watch --server
watches the project with continuous rebuild. This will also launch HTTP server with pushState.brunch build --production
builds minified project for productionpublic/
dir is fully auto-generated and served by HTTP server. Write your code in app/
dir.app/assets/
to public/
.All Bootstrap stylesheet files can be found separated into:
vendor/styles/bootstrap
They're in original LESS format in order to be easily customized, and compiled together with the app build.
jQuery plugins used by Bootstrap are all listed (in the right order) inside the config.coffee file. Comment out the ones you want to exclude from the build with a #. (Pay attention to dependencies!)
Banana Pancakes was spawned from Brunch with Eggs and Bacon because it's versions of jQuery, Underscore, Backbone, and Bootstrap were all out-of-date.