Laravel CSS not Found – asset() not point to public folder

0
111

The asset() helper prepends the base URL to the path you supply.

The base URL is the location of index.php (in this case: http://localhost/laravel/).

If you don’t want index.php inside /public you will need to use public/ inside your asset path, like so: asset(“public/css/style.css”)