Twinkle
Twinkle
Livewire 3.0.8でwire:confirm
追加。
https://livewire.laravel.com/docs/wire-confirm
削除の実行前などに確認ダイアログを出すことができる。
これだけで済むのは便利。
<button
type="button"
wire:click="delete"
wire:confirm="Are you sure you want to delete this post?"
>
Delete post
</button>