A set of Ruby helpers that streamlines the use of Bootstrap 6 components in HTML views.
Bootstrap 6 is a great framework, but requires many lines of HTML code even for simple components.
With Bh, you can achieve the same result with fewer lines of code
- Add
gem 'bh'to theGemfilefile of your Rails app. - Add this line to the
config/importmap.rbfile:
pin_all_from Bh::Engine.root.join('app/javascript/controllers'), under: 'controllers'