SweetAlert2 with Livewire
Use SweetAlert2 to display animated popup alert following Livewire action
Install SweetAlert in master layout
On views that expect to use SweetAlert, or in master layout file, add a listener
Then trigger an event from Livewire component when you want to show the popup
Pass any SweetAlert config elements to style your popup
You might instead use this package;
Last updated