Skip to content

Instantly share code, notes, and snippets.

@uzbekdev1
uzbekdev1 / gist:0baf3c4877d201953b69b8e8c8516f77
Created February 23, 2023 00:47 — forked from KarolinaCzo/gist:72a356c19eb511ad8a7b4594bdfa159b
Add @fortawesome/fontawesome-free to an Angular project
How to add Font Awesome @fortawesome/fontawesome-free to an Angular project?
1) Go to the project directory
2) Install Font Awesome as said on their website:
https://fontawesome.com/how-to-use/on-the-web/setup/getting-started?using=web-fonts-with-css
through npm: npm install --save @fortawesome/fontawesome-free
Use '--save' not '--save-dev'
3) Add Font Awesome to 'styles' in 'anguler.json':