I'm doing a little website for me with Laravel 8.0.
Inside home.blade.php, I have this : <link rel="stylesheet" href="{{ asset('css/header.css') }}">
But when I go to my browser, no css in my page. Inside the developper tools, it says <link rel="stylesheet" href="http://localhost/css/header_site.css">.
I have all my css inside the public/assets/css folder.
I also used the VirtualHost inside httpd-vhosts.conf where I do DocumentRoot "C:/xampp/htdocs/my-project/public".
Cordially
href="{{ asset('assets/css/header.css')URL::and also withpublic/assets/css/header.cssWhat trigger me is that when I go to the developper tools, there path ishttp://localhost/css/header_site.cssand that's wrong.http://localhost/assets/css/header_site.cssAlso see if this url produces the css file in the browser.ASSET_URL=http://localhost/assets/. Then do{{asset('css/header.css')}}. See if it changes anything,