73 shaares
42 liens privés
42 liens privés
1 résultat
taggé
php
Instead of @component('mail:message'), we can use this for very simple customization.
@component('mail::layout')
{{-- Header --}}
@slot ('header')
@component('mail::header', ['url' => config('app.url')])
<!-- header -->
@endcomponent
@endslot
{{-- Content here --}}
{{-- Subcopy --}}
@slot('subcopy')
@component('mail::subcopy')
<!-- subcopy -->
@endcomponent
@endslot
{{-- Footer --}}
@slot ('footer')
@component('mail::footer')
<!-- footer -->
@endcomponent
@endslot
@endcomponent