… npm install -save vue-sweetalert2 or … The usage would be v … Alert | Vue.js Framework Components - Vuesax Vue JS Alert Box Example - CSS CodeLab The Vue Button `click` Event - Mastering JS Event Handling | Vue.js Event Handling Watch a free video lesson on Vue School Listening to Events We can use the v-on directive, which we typically shorten to the @ symbol, to listen to DOM events and run some JavaScript when they're triggered. It is a very common need to call event.preventDefault () or event.stopPropagation () inside event handlers. Button clicks can be caught using the v-on:click event. Vue.js: event modifiers for control/command, … Two events - mouseover and mouseout - is assigned to the div as shown above. Vue.js v-on:click.alt Directive - GeeksforGeeks vuejs add alert on click Code Example - codegrepper.com