Created
May 25, 2017 14:16
-
-
Save vuejsdevelopers/2c17002b774a3659bb59092f3d5f09d3 to your computer and use it in GitHub Desktop.
Using JSX with Vue.js - Snippet 03
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Vue({ | |
el: '#app', | |
data: { | |
msg: 'Show the message' | |
}, | |
methods: { | |
hello () { | |
alert('Here is the message') | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment