Slabs for Rails Asset Pipeline
Slabs is an amazing extension for Bootstrap, ready to help developers to create websites.
Installation
slabs is easy to drop into Rails with the asset pipeline.
In your Gemfile you need to add the slabs-rails gem, and ensure that the sass-rails gem is present - it is added to new Rails applications by default.
gem 'sass-rails', '>= 3.2'
gem 'bootstrap-sass', '~> 3.3.6'
gem 'slabs-rails'
Usage
Import Bootstrap and Bolt Framework into a Sass file (for example, application.css.scss) to get all the styles, mixins and variables!
We recommend against using //= require directives, since none of your other stylesheets will be [able to access][antirequire] the Bootstrap and Bolt BS mixins or variables.
@import "bootstrap";
@import "slabs";