Total Blog Views: 47
Blog Status: publish
Created By: asad_fazlani Created at: 08-16-2021
Installation of Bootstrap gem in rails app step by step :
Add below code in gem file
gem 'bootstrap', '~> 5.1.0' gem 'jquery-rails
using bundle install gem in your project.
import bootstrap styles in application.scss
@import "bootstrap";
make sure file extention must be .scss(saas). if you create app they came with .css then rename it.
Add Bootstrap dependecies to your application.js.
//= require jquery3
//= require popper
//= require bootstrap
we successfully install bootstrap in our rails app.
Feel free to ask any questions in comment.
we have the “Get things executed” lifestyle at our place of work. There are not any excuses, no if’s or however’s in our dictionary. committed to navigating the ship of creativity to create cell answers, we resolve the real-lifestyles troubles of our clients and their clients. Our passion for work has won us many awards, year after 12 months.
© Copyright Shadbox. All Rights Reserved
Rate Blog :
Share on :
Do you have any blog suggestion? please click on the link