所以我不明白为什么我的电子邮件的正文为空。我定义了以下文件:
language.blade.php
@component('mail::message')
@yield("emails.auth.reset.".app()->getLocale().".mail")
@endcomponent
mail.blade.php
<h1>Introduction</h1>
Hi {{ $userName }}
The body of your message.
@component('emails.auth.reset.components.resetbutton', [
'text' => 'Button Text'
])
Thanks,<br>
{{ config('app.name') }}
resetbutton.blade.php
@component('mail::button', ['url' => ''])
{{$text}}
@endcomponent