Skip to content

Commit

Permalink
Merge pull request #63 from LewBlu/readme-blade-content
Browse files Browse the repository at this point in the history
README update to include blade content rendering
  • Loading branch information
freekmurze authored Jun 4, 2024
2 parents a22fec6 + d25bdf6 commit ab6b62a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ You can extend the `getHtmlLayout()` method on either a template mailable or a m

When sending a `TemplateMailable` the compiled template will be rendered inside of the `{{{ body }}}` placeholder in the layout before being sent.

If using a Blade view, the placeholder will need to be `@{{{ body }}}`.

The following example will send a `WelcomeMail` using a template wrapped in a layout.

```php
Expand Down

0 comments on commit ab6b62a

Please sign in to comment.