This is a Ruby on Rails engine to include Bootstrap 5.
How to use my plugin.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install bs5
Run the following command to setup your project to use Bootstrap 5.
$ rails generate bs5:install
<%= render Bs5::AlertComponent.new do %> A simple primary alert—check it out! <%- end %>
<%= render Bs5::AlertComponent.new(type: :warning, is_dismissable: true) do %> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <%- end %>
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.