Replies: 1 comment
-
I gave up and just made it a regular dependency, not a dev dependency. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We were using @themsaid's package as a dev dependency. Out of the box this is not possible with this package because of the middleware, in production the package is not installed and triggers a
Target class [Spatie\MailPreview\Http\Middleware\AddMailPreviewOverlayToResponse] does not exist.
Exception.I have two solutions for this problem:
production
.For now we went with number two.
What is your opinion on this?
Beta Was this translation helpful? Give feedback.
All reactions