Layouts of my laravel is not working
I have 3 layouts master, footer and nav_bar, they are working when I use them in my index.blade.php (extends master and include footer and nav-bar) but I create a new file and I literally copied the layouts from index and pasted the in the new one (named show.blade.php) but it is not working because it doesn't bring me any of my css.
all of this is inside a folder that I create in views named admin, here is the code of both index and show:
@extends('admin.layouts.master')
@section('content')
@include ('admin.layouts.top_bar')
@include ('admin.layouts.nav_bar')
@include('admin.layouts.footer')
@endsection
I try just putting everything together in the show.blade.php but still not working, it is like if the links of the master blade are only working for index.
i guess you have placed you css files in the public/css directory.
replace your links like this
<link href=" {{ URL::asset('css/bootstrap.min.css') }}" rel="stylesheet">
give it a try
Please or to participate in this conversation.