framework
framework copied to clipboard
[11.x] MailMakeCommand: Add new `--view` option
This pull request adds a new --view
option to the make:mail
command that will create a new empty Blade file and configure the Mailable
to use it by default.
It behaves the same way as the existing --markdown
option.
I imagine this would be a nice and small workflow optimisation for folks, including myself. I'm always creating new Blade views for regular HTML emails and manually updating the Mailable
.
Could a maintainer mark this as draft please so it doesn't show up on Taylor's feed? I still need to write tests :^)
@ryangjchandler you can do that on the right sidebar "Still in progress? Mark as draft"
@ryangjchandler you can do that on the right sidebar "Still in progress? Mark as draft"
Has that button moved or something cause I could swear it used to show up on the bottom for me! Thanks :^)