0.0
No commit activity in last 3 years
No release in over 3 years
Bootplus bundled for Rails Asset Pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

Bootplus::Rails

Bootplus for Rails Asset Pipeline extracted from bootplus Use this gem less-rails-fontawesome for font awesome

Installation

Add this line to your application's Gemfile:

gem 'therubyracer'
gem 'less-rails'
gem 'less-rails-fontawesome'
gem 'bootplus-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootplus-rails

Usage

Create bootplus_overrides.less with the following codes

@import 'bootplus/bootplus';
@import 'bootplus/responsive';
@import 'font-awesome/font-awesome';
@import 'font-awesome/font-awesome-ie7';

// Set the correct sprite paths
@iconSpritePath: "glyphicons-halflings.png";
@iconWhiteSpritePath: "glyphicons-halflings-white.png";

Add bootplus_overrides.less to your application.css

*= require bootplus_overrides

Add bootstrap.js to your application.js

//= require bootplus/bootstrap

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

ROADMAP

  1. Add generator