Using font awesome in a Laravel project

Apr 13, 2019 by Thibault Debatty | 3827 views


Font Awesome is a fantastic icon set to improve your web application. The integration in Laravel requires a few additional steps...


Download and install fontawesome using npm:

npm install @fortawesome/fontawesome-free


In resources/assets/sass/app.scss, add the dependency:

@import '~@fortawesome/fontawesome-free/css/all.css';


Rebuild the app.css stylesheet of your application:

npm run prod

Or, to build the development version of your stylesheet:

npm run dev

This blog post is licensed under CC BY-SA 4.0

This website uses cookies. More information about the use of cookies is available in the cookies policy.