Reputation: 15305
I work in a project where we don't use JQuery.
Is twitter bootstrap dependant on it ?
Upvotes: 107
Views: 74855
Reputation: 1603
Bootstrap 5 will be without jQuery dependency. Reference: Concerned PR
Upvotes: 7
Reputation: 7822
You do not need to use jQuery. Boostrap will perform better with native JavaScript than jQuery.
Try one of these:
Upvotes: 2
Reputation: 2188
Twitter bootstrap itself isn't jQuery dependant.
If you use just the CSS part of it, you won't need jQuery.
If you use the Javascript plugins you need jQuery, since they are jQuery plugins.
v3: http://getbootstrap.com/javascript/
v4: https://getbootstrap.com/docs/4.0/getting-started/javascript/
Upvotes: 99
Reputation: 4611
Short answer is yes but as Bruno says, the jQuery plugins won't work. To workaround this, I made a small replacement script so the dropdown menus, alert boxes and collapsible nav bar will work without jQuery: http://daniemon.com/blog/bootstrap-without-jquery/
Upvotes: 42