Add this line to your application's Gemfile:
gem 'ombulabs-styleguide'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ombulabs-styleguide
In application.css, add:
*= require ombulabs/styleguide
or if you are using scss: appliation.scss
@import "ombulabs/styleguide";
In application.js add:
//= require ombulabs/styleguide
Install the package directly from this repo:
$ yarn add "ombulabs/styleguide#gh-pages"
In app/assets/stylesheets/application.scss
, add:
@import "ombulabs-styleguide";
From the gem folder
$ bundle
Build static
$ rake precompile_assets
Styles and Javascript files are in static
folder.
Components can be checked if index.html
file is opened in a browser.