Tag: Rails/Bootstrap4
gem 'bootstrap', '~> 4.1.1' gem 'jquery-rails'
bundle show |fgrep sprockets-rails
@import "bootstrap";
<!DOCTYPE html> <html> <head> <title>Rails5Bootstrap4Demo</title> <%= csrf_meta_tags %> <%= csp_meta_tag %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> </head> <body> <div class="container"> <%= yield %> </div> </body> </html>
bundle exec rails g kaminari:views bootstrap4