Skip to content

claudiob/bh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

339 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bh · Bootstrap Helpers

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

How to install

  1. Add gem 'bh' to the Gemfile file of your Rails app.
  2. Add this line to the config/importmap.rb file:
pin_all_from Bh::Engine.root.join('app/javascript/controllers'), under: 'controllers'