title: Laravel: Layouts.master not found
body: <p>I built the demosite in Laravel, but I got the following error:</p>
  
  <blockquote>
    <p>ErrorException in FileViewFinder.php line 137: View [layouts.master]
    not found.(View:
    /var/www/html/project/laravel/laravel/resources/views/page.blade.php)</p>
  </blockquote>
  
  <p>The master.blade.php is next to the page.blade.php, both are in resources/views</p>
  
  <p>master.blade.php</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;@yield('title')&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          @section('sidebar')
          This is the master sidebar.
          @show
          &lt;div class="container"&gt;
          @section('content')
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>page.blade.php</p>
  
  <pre><code>@extends('layouts.master')
  @yield('title', 'Page Title')
  @section('sidebar')
  @parent
  &lt;p&gt;This is appended to the master sidebar.&lt;/p&gt;
  @endsection
  @section('content')
  &lt;h2&gt;{{$name}}&lt;/h2&gt;
  &lt;p&gt;This is my body content.&lt;/p&gt;
  @endsection
  </code></pre>
  
  <p>What goes wrong? I working from <a href="https://www.tutorialspoint.com/laravel/laravel_tutorial.pdf" rel="nofollow noreferrer">this tutorial.</a></p>