title: @yield, @section in Laravel
body: <p>Hello everyone I want to load <code>shopReq.blade.php</code> file in <code>master.blade.php</code> and I am successful in doing this. But when I load <code>modals.blade.php</code> file in <code>shopReq.blade.php</code> it does not included. Am I  doing something wrong here? Please help.</p>
  
  <p>master.blade.php (in views/layouts):</p>
  
  <pre><code>&lt;html&gt;
     &lt;body &gt;
            @yield('content')
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>shopReq.blade.php (in views)</p>
  
  <pre><code>@extends('layouts.master')
  @section('content')
  &lt;h1&gt;Hello I am in shopReq.blade.php
  @yield(content)
  @endsection
  </code></pre>
  
  <p>modals.blade.php (in views)</p>
  
  <pre><code>@extends('shopReq')
  @section('content')
  &lt;h1&gt;Hello I am in modals.blade.php
  @endsection
  </code></pre>
  
  <p>web.php:</p>
  
  <pre><code>Route::group(['middleware' =&gt;['web']], function()
      {
      Route::get('/', function () {
          return view('welcome');
      })-&gt;name('home');
  });
  </code></pre>