Answer the question
In order to leave comments, you need to log in
css not included in laravel 5.3
I started learning Laravel and ran into a problem that css does not work. I am developing a site on Xamppe
css connection code to the app.blade.php template
<link rel="stylesheet" type="text/css" href="{{ asset('css/main.css') }}">
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
Answer the question
In order to leave comments, you need to log in
So, judging by the error, css "works" for you, the problem is that there is no access to the file or directory:
You don't have permission to access the requested object.
It is either read-protected or not readable by the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question