Install Font Awesome 5 with NPM

后端 未结 5 508
-上瘾入骨i
-上瘾入骨i 2021-02-03 19:21

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:



        
5条回答
  •  被撕碎了的回忆
    2021-02-03 20:10

    A stumbling block for me was the final part of their installation docs. It says to reference the all.css file in your head tag.

    I did it incorrectly.

    The right way to link to this is the following:

    
    

    Hope this helps!


    This should get it working for you. Also, I would recommend reinstalling the latest version of the npm package using the FontAwesome guide

提交回复
热议问题