How to use the package? #45
-
I don't understand if I'm that stupid or the usage guide is incomplete but everyone else manages to figure out how to use it. In the example seeder you're using
How would my app know about MailTemplate if I don't import it? I've tried it and I do get an error How do you use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Well I found the solution - need to use |
Beta Was this translation helpful? Give feedback.
Well I found the solution - need to use
Spatie\MailTemplates\Models\MailTemplate
instead ofSpatie\MailTemplates\MailTemplate
. I suppose the documentation is a bit outdated.