我不知道在哪里可以找到下面的header logo
示例(平方):
public function toMail($notifiable)
{
return (new MailMessage)
->line('The introduction to the notification.'.$user->name)
->line('Hey Now hey now')
->action('Notification Action', route('register.select'))
->line('Thank you for using our application!');
}
email.blade.php
:
@component('mail::message')
{{-- Greeting --}}
@if (! empty($greeting))
# {{ $greeting }}
@else
@if ($level === 'error')
# @lang('Whoops!')
@else
# @lang('Hello!')
@endif
@endif
{{-- Intro Lines --}}
@foreach ($introLines as $line)
{{ $line }}
@endforeach
... and so on, and so forth
logo header
, my problem I can't find where exactly. Need your help Sirs.
您只需自定义电子邮件模板即可。
运行此命令:
php artisan vendor:publish --tag=laravel-notifications
之后你会在resources/views/vendor/notifications
找到模板。
如果要自定义模板中使用的邮件组件:
php artisan vendor:publish --tag=laravel-mail
你会在resources/views/vendor/mail
找到组件。你想要的是message.blade.php
和header.blade.php
。