I can't get flash messages to the frontend #391
Answered
by
reinink
thecyrilcril
asked this question in
Help
-
following the instructions on https://inertiajs.com/shared-data#flash-messages I am on Laravel 8 and manually installed inertia
app.js
Controller Method that does the redirect
HandlleInertiaRequests.php Middleware
Register.vue (Component that displays the
|
Beta Was this translation helpful? Give feedback.
Answered by
reinink
Jan 26, 2021
Replies: 2 comments
-
for some reason the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is the issue here. There is no |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
claudiodekker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this is the issue here. There is no
withFlash()
method in Laravel. Just usewith()
, as you discovered. 👍