Closed payrequestio closed 4 days ago
This works really well: https://github.com/petervandijck/oldschool-fluxtoasts
You can use the toasts by manually dispatching events in the browser, but right now I can't support non-Livewire toasts just yet to keep scope limited. Glad there's a workaround out there. Closing this.
I have follow the documentation on: https://fluxui.dev/components/toast Which works if you do it inside a Livewire component, but I want to use it in my app.blade.php or inside a Controller.
Can you give an example how I easily can add
Flux::toast('Your changes have been saved.');
to javascript code / a blade page / or controller?