Skip to content

Including Font Awesome? #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nicholasalanbrown opened this issue Dec 9, 2015 · 1 comment
Closed

Including Font Awesome? #173

nicholasalanbrown opened this issue Dec 9, 2015 · 1 comment

Comments

@nicholasalanbrown
Copy link

HI -

I'm using this terrific boilerplate and have tried including Font Awesome both through the font-awesome-rails package with an @import statement in application.css.scss and as an npm module, but can't get either implementation to work. Is this some weirdness caused by the modified asset pipeline?

Thanks!

@justin808
Copy link
Member

Hi! We're in the process of totally reworking the process for inclusion of Sass in Webpack + Rails projects in the next few weeks. See #162.

I'd say that it's critical to adjust this file: https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/assets/stylesheets/_bootstrap-variables-customization.scss

You should probably install font awesome from the gem for rails, and from npm for the hot-reload server.

In the very near future, we'll do all the sass/css from webpack, so you'll just use npm. If you can, please try out using the npm font-awesome here: https://github.com/shakacode/bootstrap-loader-css-modules-example. Please do a PR and we'll make sure it works from npm. This is a user case we want to support. CC: @alexfedoseev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants