Closed arnauddoub closed 2 years ago
Hello, I am trying to use the quick messages but they do not appear. Did I forget something?
Controller
start/inertia.ts
And i print {{ $page }}
{{ $page }}
but in the doc of inertiajs
I don't have the flash object
Update your start/inertia.ts with the following code as well:
flash: ({ session }) => { return session.flashMessages.all() }
Hello, I am trying to use the quick messages but they do not appear. Did I forget something?
Controller![Screenshot 2022-05-25 at 10 52 37](https://user-images.githubusercontent.com/14277978/170223884-55e00461-1ab3-43df-8189-b548ba2bed41.png)
start/inertia.ts![Screenshot 2022-05-25 at 10 52 46](https://user-images.githubusercontent.com/14277978/170224045-9c1a2f1f-f5e8-4934-8169-3233f65ad3f9.png)
And i print
{{ $page }}
but in the doc of inertiajs
I don't have the flash object