I am working with Angular(6) application, and I am trying to use FA icons, and drop-down with no luck. I am successfully using FA(4) icons, like:
<i class="fa fa-align-justify"></i>
But <i class="fas fa-align-justify"></i>
is not working. I am using following command to install FA:
npm install font-awesome --save
This is from package.json
in node_modules
folder:
I can see font-awesome.css
, but it says Font Awesome 4.7.0
as shown below:
In angular.json
file, I referenced FA:
"node_modules/font-awesome/css/font-awesome.min.css",
I read a lot of posts like How to use font Awesome 5 installed via NPM
What do I need to do else?