laravel add font awesome code example

Example 1: use font awesome in laravel 8

npm install (if you have already, no need)npm install --save @fortawesome/fontawesome-free

Example 2: use font awesome in laravel 8

$fa-font-path:        "../webfonts";@import "~@fortawesome/fontawesome-free/scss/fontawesome";@import "~@fortawesome/fontawesome-free/scss/solid";@import "~@fortawesome/fontawesome-free/scss/brands";@import "~@fortawesome/fontawesome-free/scss/regular";

Tags:

Php Example