How to include font-awesome
Hello Team I am having hard time trying to include font-awesome in the project, can you guys to provide an example that show how to do that? and what is the way to include a css file that an external component required ? Thanks
You add font-awesome to your package.json
In your app.component.scss file you then have to import it
/* Import FontAwesome */
$fa-font-path: '~font-awesome/fonts';
@import "~font-awesome/scss/font-awesome";
I guess you'd have to import additional css files there as well.
Thanks you guys it is working now
hi all I got issue $fa-font-path: '~font-awesome/fonts' is not found and font-awesome module is missing but i added it to package.json on azure build I got error but on local everithyng good how to refresh npm on azure?
@bigWebApps what is the folder structure in Azure? Maybe the mom folder isn't updating.