I followed this particular answer to install Font Awesome in a Laravel 5.7 instance running on a LAMP application stack.
npm run <option>
finishes without error. In the browser, Font Awesome icons don't load, but php artisan serve
loads icons. I suppose I'm failing to include compiled /css/app.css
and /js/app.js.
What might I be missing?
EDIT
I didn't write any code. All I did is run a few commands from the terminal. My system
Debian Stretch (4.9), PHP 7.2.9, Apache 2.4.25
I installed Laravel with Composer. app.js
and app.css
files have exactly same page source when served using php artisan serve
and navigating to localhost/... /laravel/public
. So script and style files are loaded, why doesn't it work?