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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles