This boilerplate is the product of much research and frustration. Existing boilerplates freely modify Backbone core, lack a build process, and are very prescriptive; Backbone Boilerplate changes that.
Organize your application in a logical filesystem, develop your Models/Collections/Views/Routers inside modules, and build knowing you have efficient code that will not bottleneck your users.
First make a new directory, and cd
into it:
mkdir my-new-project && cd $_
Then install generator-bbb
:
npm install generator-bbb
Run yo bbb
:
yo bbb:all
Finally, install npm and bower dependencies:
npm install && bower install --dev
Backbone Boilerplate documentation
See the contributing docs
When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.
When submitting a bugfix, write a test that exposes the bug and fails before applying your fix. Submit the test alongside the fix.
When submitting a new feature, add tests that cover the feature.