title: How can I solve "No hint path defined for [mail]." (customize email layout) on laravel?
body: <p>From here : <a href="https://stackoverflow.com/questions/42724118/laravel-5-4-how-to-customize-notification-email-layout">Laravel 5.4 - How to customize notification email layout?</a></p>
  
  <p>I try customize notification email layout</p>
  
  <p>My code to send email like this :</p>
  
  <pre><code>public function toMail($notifiable)
  {
      return (new MailMessage)
                  -&gt;subject('Test')
                  -&gt;view('vendor.mail.markdown.message',['data'=&gt;$this-&gt;data]);
  }
  </code></pre>
  
  <p>The view like this :</p>
  
  <pre><code>@component('mail::layout')
      {{-- Header --}}
      @slot('header')
          @component('mail::header', ['url' =&gt; config('app.url')])
              {{ config('app.name') }}
          @endcomponent
      @endslot
  
      {{-- Body --}}
      {{ $slot }} test
  
      {{-- Subcopy --}}
      @isset($subcopy)
          @slot('subcopy')
              @component('mail::subcopy')
                  {{ $subcopy }}
              @endcomponent
          @endslot
      @endisset
  
      {{-- Footer --}}
      @slot('footer')
          @component('mail::footer')
              © {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
          @endcomponent
      @endslot
  @endcomponent
  </code></pre>
  
  <p>If the code executed, there exist error like this :</p>
  
  <blockquote>
    <p>(2/2) ErrorException No hint path defined for [mail]. (View:
    C:\xampp\htdocs\myshop\resources\views\vendor\mail\markdown\message.blade.php)</p>
  </blockquote>
  
  <p>How can I solve the error?</p>