How to add bootstrap 5 to an existing Rails 7 app
Submitted by uday on January 16, 2022 - 2:11pmI tried to install bootstrap 5 in existing Rails 7 application. The keyword "existing" is very important because for a new application you can try following.
$rails new app-name -j esbuild --css cssbundling-rails (Note: Do NOT miss -j flag to install JavaScript first. In one Youtube video, it was skipped, however it did NOT work for me for a test app I tried to install. Not sure why.)