Roots Discourse

Sage 10 - font awesome 4.7.0

I am trying to add font-awesome 4.7.0. Imported font-awesome in my app.scss

@import “~font-awesome/scss/font-awesome”;

But i encountered this error:

I already tried to add this line
$fa-font-path: “~font-awesome/fonts”;
before or after the @import “~font-awesome/scss/font-awesome”;

but sadly I still encountered this error

Any suggestion on how to get this to work?
Thank you

Resolved this issue by adding

mix
  .setResourceRoot('../');

In webpack.mix.js

1 Like