bootstrap-social-rails
bootstrap-social for Rails asset pipeline
- bootstrap-social version: 4.12.0
Installation
- Add to your
Gemfileand install with bundler:
gem 'bootstrap-social-rails'bundle install- Require the bootstrap-social css file in
app/assets/stylesheets/application.css:
*= require bootstrap-socialOr in app/assets/javascripts/application.css.scss / app/assets/javascripts/application.css.sass:
@import bootstrap-social;@import bootstrap-social- Add font-awesome-rails (Optional)
Bootstrap-social is often used with Font Awesome icons. font-awesome-rails gem provides the web fonts and stylesheets for the Rails asset pipeline.
gem 'font-awesome-rails'bundle installRequire the font-awesome-rails css file in app/assets/stylesheets/application.css:
*= require font-awesomeOr in app/assets/javascripts/application.css.scss / app/assets/javascripts/application.css.sass:
@import 'font-awesome';@import font-awesomeAcknowledgements
bootstrap-social created by Panayiotis Lipiridis, licensed under the MIT license
Copyright Gavin Lam, released under the MIT License.