Hi, I have imported Font Awesome via NPM and in to main.scss using the scss files, but on build whilst it builds OK the icon is not showing up on page, exactly same code as the html version. Import statement is below,
@import “~font-awesome/scss/font-awesome.scss”;
Is it better to use the css files ? Thanks
Hey @minimallinux - Font Awesome 4.x or 5.x?
Hi its Ok now I just used cdn link in head.blade V 4.7 Thanks
That should work → @import “~font-awesome/scss/font-awesome”;
The question is how can we add font awesome 5 to sage? No 5 doesn’t support scss on node.js I bet this can be done through webpack.
Hey @Bezelinja - I just posted a super short how-to here: How to: Use Font Awesome 5 in your theme. Let me know there if you have any questions.