Skip to content

Instantly share code, notes, and snippets.

@ctrlaltdylan
Created March 16, 2017 14:20
Show Gist options
  • Save ctrlaltdylan/b45273f831d0916257fea238edacd022 to your computer and use it in GitHub Desktop.
Save ctrlaltdylan/b45273f831d0916257fea238edacd022 to your computer and use it in GitHub Desktop.
Rails asset pipeline bootstrap-scss only import glyphicons
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
* files in this directory. Styles in this file should be added after the last require_* statement.
* It is generally better to create a new file per style scope.
*
*/
/**
* In order to correctly load the bootstrap glyphicons, we must provide the scss variables needed for the glyphicons.scss
@import "bootstrap-sprockets";
@import "bootstrap/variables";
@import "bootstrap/glyphicons";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment