Last Updated: February 25, 2016
·
1.554K
· ranjan

Integrate font-awesome with yeoman project for sass

The instructions at font-awesome getting started aren't too clear to get us past yeoman workflow. This is what worked for me.

// main.scss
$fa-font-path: "../bower_components/font-awesome/fonts";
*import 'font-awesome/scss/font-awesome';

2 Responses
Add your response

Shouldn't that be @import?
worked for me after changing to @import.

Was wondering how to use font-awesome along with Twitter Bootstrap glyphicons already set using $icon-font-path:

Thanks for this pro tip (y).

over 1 year ago ·

Yeah @import is the right thing to do here. But when I used @import in the illustration, syntax highlighter on this coderwall webpage crashed, and so i replaced it with a *. I knew you'll figure it out anyway.

over 1 year ago ·