VueJS: Building A Confirmation Modal
Paulund is full of premium tutorials and support to help with your development
Sign up to get full access to all tutorials.
In this tutorial we're going to learn how you can create a deletion confirmation modal in VueJS. This technique is important when you have a form or a link asking the user to delete some content, you can display this confirmation modal for the user to confirm before you delete the record. From the image above we want the confirmation modal to appear when we click the delete button. When the user clicks the delete button again then we want to make this delete the post. First we need to add the HTML to the page. First we have . . .