I have a Laravel project. I added font awesome fonts to my SCSS file in the following way.
Here are the font dependencies:
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"@fortawesome/fontawesome-pro": "^5.15.3",
// Font Awesome
@import '~@fortawesome/fontawesome-pro/scss/fontawesome';
@import '~@fortawesome/fontawesome-pro/scss/brands';
@import '~@fortawesome/fontawesome-pro/scss/light';
@import '~@fortawesome/fontawesome-pro/scss/regular';
@import '~@fortawesome/fontawesome-pro/scss/solid';
However, after webpack compiles the files, I am getting a 404 error on the font files. https://i.sstatic.net/FsIoh.png