Install Font Awesome 5 with NPM

后端 未结 5 505
-上瘾入骨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:17

    If you are using npm install --save @fortawesome/fontawesome-free change the package.json to refer

    import "@fortawesome/fontawesome-free/css/all.css"; 
    

提交回复
热议问题