BoilerplateJS is independent from any UI framework like Twitter Bootstrap, and they can be effectively combined together to create nice single-page apps.
Twitter Bootstrap helps you to build consistent UI, and you can use it to create Views for your components, while BoilerplateJS helps to orchestrate your components.
You may know that it is recommended to use MVVM/MVC framework with BoilerplateJS. If you choose KnockoutJS like i did, you will probably need to use custom bindings for Twitter Bootstrap elements in your views.
E.g. I am using it in my projects to seamlessly bind UI elements like grouped buttons and typeaheads to the viewmodel. You need only to refer to such binding code in your viewmodel to be able to use something like this in your view:
<label class="control-label"><strong>How many rooms:</strong></label>
<div class="btn-group" data-toggle="buttons-checkbox">
<button type="button" class="btn btn-info" data-value="1" data-bind="checkedButtons: RoomNumber">1</button>
<button type="button" class="btn btn-info" data-value="2" data-bind="checkedButtons: RoomNumber">2</button>
<button type="button" class="btn btn-info" data-value="3" data-bind="checkedButtons: RoomNumber">3+</button>
</div>
Note the checkedButtons
custom binding here, loaded into the viewmodel with
define(['Boiler', './../../kobuttonbinding' ], function (Boiler, kobuttonbinding) {