Created
March 23, 2018 09:16
-
-
Save manico/8fffeae26876ecf4a283a517d7594acc to your computer and use it in GitHub Desktop.
Vue Render Component
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
{ | |
mixins: [elementable], | |
render(createElement) { | |
return createElement( | |
"div", | |
{ | |
style: { | |
background: "yellow" | |
} | |
}, | |
"This is child element" | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment