Issue
I have created a new file in resources/views/vendor/mail/html/coupon.blade.php and in resources/views/vendor/mail/markdown/coupon.blade.php
also in config/mail.php, I changed the configuration to this.
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
But still I am not able to use
@component('mail::coupon')
in my email blade file. its throwing following error.
Facade/Ignition/Exceptions/ViewException with message 'View [coupon] not found.
Solution
Still, I am not able to use like @component('mail::coupon') but I find out workaround to use like this @component('vendor.mail.markdown.coupon') to specify email template file.
Answered By - Jigar
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.