https://github.com/claudiob/bh
Bootstrap Helpers for Ruby
https://github.com/claudiob/bh
bh-gem bootstrap bootstrap-helpers bootstrap3 gem middleman padrino rails
Last synced: 3 months ago
JSON representation
Bootstrap Helpers for Ruby
- Host: GitHub
- URL: https://github.com/claudiob/bh
- Owner: claudiob
- License: mit
- Created: 2014-08-14T10:17:48.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-01-31T01:10:36.000Z (over 8 years ago)
- Last Synced: 2025-03-26T14:56:00.751Z (about 1 year ago)
- Topics: bh-gem, bootstrap, bootstrap-helpers, bootstrap3, gem, middleman, padrino, rails
- Language: Ruby
- Homepage: http://claudiob.github.io/bh/
- Size: 744 KB
- Stars: 833
- Watchers: 65
- Forks: 76
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
Bh · Bootstrap Helpers
======================
A set of Ruby helpers that streamlines the use of
[Bootstrap 6 components](https://deploy-preview-42067--twbs-bootstrap.netlify.app/) 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:
```ruby
pin_all_from Bh::Engine.root.join('app/javascript/controllers'), under: 'controllers'
```
Available methods
=================
See https://github.com/claudiob/bh/blob/master/lib/bh/bootstrap_helpers.rb