Liviu Hariton
PHP developer
Laravel 10 - install Fontawesome (free)
We need to install the FontAwesome library (latest version) using the below npm
command. so let’s run bellow command:
$ npm i @fortawesome/fontawesome-free
After installing successfully, we need to import FontAwesome in our /resources/js/app.js
and add the following line
import '/node_modules/@fortawesome/fontawesome-free/css/all.min.css';
and build everything
npm run build