Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

VueUse for Everyone

Headless Dialogs with useConfirmDialog

Confirmation dialogs are common features of the modern day web app. There are many off the shelf components you could reach for to support them but why not use the VueUse package you probably already have installed. Plus, retain complete control over how things are styled.

The VueUse dialog provides confirmation dialog functionality that you can hook-up to the markup and styles of your choice. In other words, it's a headless confirmation dialog and it works great!