Answer the question
In order to leave comments, you need to log in
Why doesn't Laravel only see styles in the +public/ path?
I study from the lessons, I repeat the initial steps of the author, he created a separate view there, he prescribed the path to css and js like this
<link rel="stylesheet" href="{{asset('assets/admin/css/admin.css')}}">
<script src="{{asset('assets/admin/js/admin.js')}}"></script>
RewriteEngine On
RewriteRule (.*) /public/$1 [L]
Answer the question
In order to leave comments, you need to log in
This may be due to the fact that the author's web server is normally configured, and you "have .htaccess for the laravel root".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question