How to change your Laravel site favicon
< 1 min read
Reading Time: < 1 minute
Remember that Laravel is serving files from the /public directory as root, not the project directory.
Setting up the favicon is a two step process:
Add this code to your layout page:
< link rel="shortcut icon" href="{{ asset('favicon.ico') }}" >
Then put your favicon in the sites subdirectory
\public
It might take a bit of time to appear on refresh.
tech
10 February, 2017 @ 10:09 pm
life saver….thanks for this post