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';
Written by Ranjan
Related protips
2 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Yeoman
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#