Bootstrap 5 does not use jquery
yshmarov opened this issue · 1 comments
yshmarov commented
Bootstrap 4 needs jquery and changes to env.js. Bootstrap 5 does not. This
https://github.com/abhaynikam/boring_generators/blob/main/lib/generators/boring/bootstrap/install/install_generator.rb
can be updated.
My guide to installing bootstrap 5:
console:
yarn add bootstrap@next
yarn add @popperjs/core
application.js
import 'bootstrap/dist/js/bootstrap'
import "bootstrap/dist/css/bootstrap";
done :)
Unless you have a more correct approach
deepakmahakale commented
Need to change this if bootstrap is 5 & above
yarn add bootstrap@next jquery @popperjs/core