How to add Fontawesome 5 to Symfony 4 using Webpack Encore

后端 未结 7 1624
鱼传尺愫
鱼传尺愫 2020-12-29 04:34

I want to add Font Awesome 5 to my Symfony 4 project, this is what I did :

  • I added font awesome to my project using yarn : yarn add --dev @fortawesome/f
7条回答
  •  难免孤独
    2020-12-29 05:19

    Giovani has right. Next you must look at group of icons. Every icon in font-awesome has its own group. If you forget this, you get square icon instead.

    
    
    

提交回复
热议问题