enter image description here
install by this ---npm install --save font-awesome angular-font-awesome in app module import this -- AngularFontAwesomeModule
In angular 9 IVy is by default true so change this to false In tsconfig.app.json file add this "angularCompilerOptions": { "enableIvy": false }
after that go to the node_module folder and search angular font awesome go to the dist folder in that open file angular-font-awesome.js file and change the name of Renderer to Renderer2 Because in updated angular it support Renderer2
I had used it with angular 8,9 and it was so good.
You just need to read the document and follow.
https://github.com/FortAwesome/angular-fontawesome
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With