Event handling in Vue.js

January 9, 2018

When a button is clicked I want to show a message. You can use v-on directive in Vue.js for event handling

{{msg}}
 

You can us the @ symbol without using the v-on directive

{{msg}}