Installing Bootstrap 4 on Rails 6

Bootstrap is a front-end web framework that makes creating responsive web layouts and interactive front-end components far easier than it was years ago. While it’s not the only front-end, responsive, mobile-first framework these days, it is arguably the most popular. It also pairs well with Ruby on Rails. In this post, we’ll explore how to install Bootstrap 4 on Rails 6.From Rails 3.1 to Rails 5, the Asset Pipeline was where Rails stored JavaScript, stylesheets and image assets. Rails 6 now uses webpack rather than the Asset Pipeline for JavaScript. In Rails 6, all JavaScript now resides in its own directory under app/javascript rather than under app/assets/javascript as it did in Rails 5.
Installing Bootstrap 4 on Rails 6 #ruby #rubydeveloper #rubyonrails #bootstrap https://rubyonrails.ba/single/installing-bootstrap-4-on-rails-6

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles