Question:I am upgrading font-awesome in my angular application earlier we were having hardcoded the URL of font-awesome (from CDN ) in style.scss file, now we got to have an angular package which is as below:
ng add @firstname.lastname@example.org and also similar SVG icons.
and we have changed the approach from
<i class="fa fa-lock"><i>to
Now the challenging stuff here is that in my existing application we have used
Please note that
my version offortawesome
supportsfont-awesome version 5+`.
Answer:Ok, if you inspect your code where you use you new icons, you should see something like that :
That means that you don’t have the css way to display FA icons :
font-familythat you will be able to use.
Tell me if the part about the SVG makes sense to you if I expressed it correctly. Cheers.
If you have better answer, please add a comment about this, thank you!