Answers for "exclude a section from blade layout"

PHP
1

exclude a section from blade layout

// Try something like this:
// In your master layout...

@section('header')
<header>Default Header</header>
@show

// In your dashboard template (which extends master)...

@section('header')
@endsection
Posted by: Guest on April-30-2021

Browse Popular Code Answers by Language