Created
May 25, 2017 14:13
-
-
Save vuejsdevelopers/cd6565d50386d66246d2b567474612ad to your computer and use it in GitHub Desktop.
Using JSX with Vue.js - Snippet 01
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
render (h) { | |
return h( | |
'div', | |
{ attrs: { id: 'my-id' }, | |
[ this.msg ] | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment