You need to copy them to the public folder, the webserver can't see the resource folder.
Jul 12, 2018
4
Level 1
css js file not loading
My css and js files are not loading in the project. The php file is master.blade.php. Please see the attached image.
//css link
<link href="../resources/assets/sass/bootstrap.min.css" rel="stylesheet">
<link href="../resources/assets/sass/layout_style.css" rel="stylesheet" type="text/css">
// javascript link
<script src="../resources/assets/js/bootstrap.min.js"></script>
<script src="../resources/assets/js/jquery-1.11.1.min.js"></script>
url of uploaded image https://ibb.co/iySKU8
Level 1
You should not link into resource folder css and js, you should use into public folder css and js . Coy and paste into public folder your css files and js files from resource. eg. Try like below
//css link
<link href="{{asset('css/bootstrap.min.css')}}" rel="stylesheet">
<link href="{{asset('css/layout_style.css')}}" rel="stylesheet">
//javascript link
<script src="{{asset('js/bootstrap.min.js')}}"></script>
<script src="{{asset('js/jquery-1.11.1.min.js')}}"></script>
Please or to participate in this conversation.