Skip to content

Configuring specific Bootstrap JS files

toadkicker edited this page Sep 20, 2014 · 1 revision

To reduce the amount of javascript loaded by Bootstrap, or just to use specific JS components, you can customize your application.js manifest like so:

#= require jquery
#= require jquery_ujs
#= require bootstrap/js/transition
#= require bootstrap/js/alert
#= require bootstrap/js/modal
#= require bootstrap/js/button
#= require bootstrap/js/collapse

A complete list of files is located here.