[RUBY] Introducing Bootstrap to Rails 5

Gemfile


gem 'bootstrap', '~>4.4.1'
gem 'jquery-rails'
$ bundle

application.scss


@import "bootstrap";

application.js



//= require jquery3
//= require popper
//= require bootstrap-sprockets

Describe between these two //= require turbolinks //= require_tree .

Recommended Posts

Introducing Bootstrap to Rails 5
Introducing Bootstrap to Rails !!
Introducing CircleCI to Rails
Introducing Bootstrap and Font-Awesome (Rails)
Introducing full calendar to Rails application
How to deploy Bootstrap on Rails
Introducing React to Rails with react-rails
Rails Bootstrap introduced
[Rails] Introducing jquery
[Rails] Introducing devise
[Rails 6] Introducing Google Maps to your portfolio
The process of introducing Vuetify to Rails
How to write Rails
Introducing New Relic to Rails apps on Heroku
[Rails] Introducing Active Hash
Introduce Vue.js to Rails
How to adapt Bootstrap
How to uninstall Rails
[Rails] Bootstrap form-control does not apply to date_select
Introducing Rails6 + Bootswatch / Honoka
[Rails] Introducing pay.jp (from view customization to registration)
[Ruby on Rails] How to install Bootstrap in Rails
[rails] How to post images
Introducing AWS CLI to CentOS 7
[Rails] How to use enum
Introducing past nvidia-driver to Ubuntu
[Rails] How to install devise
[Rails] How to use enum
How to read rails routes
How to use rails join
[Rails] Add column to devise
How to terminate rails server
How to write Rails validation
How to write Rails seed
[Rails] How to use validation
[Rails] How to disable turbolinks
Pass parameters to Rails link_to
[Rails] How to use authenticate_user!
[Rails] How to use "kaminari"
[Rails] How to implement scraping
[Rails] How to make seed
Introducing JITSI MEET to CentOS 8
How to write Rails routing
[Rails] How to install simple_calendar
[Rails] How to install reCAPTCHA
Introduced gRPC client to rails
Introduction to RSpec-Everyday Rails Summary-
[Rails] How to use Scope
I tried to introduce Bootstrap 4 to the Rails 6 app [for beginners]
[Rails] [bootstrap] I want to change the font size responsively
[Rails] How to use gem "devise"
How to deploy jQuery on Rails
Rails new fails to install mysql
[Rails] How to use devise (Note)
[Rails] Two ways to write form_with
[Rails] How to use flash messages
[rails] How to display db information
Preparing to create a Rails application
Enable jQuery and Bootstrap in Rails 6 (Rails 6)
[Rails] Learn yield to understand content_for
[Rails] How to write in Japanese