-
-
Save christiannwamba/feefc104ad8c7c6fa2818b62c2da5f51 to your computer and use it in GitHub Desktop.
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
Vue.component('header-text',{ | |
functional:true, | |
render(createElement, context){ | |
return createElement('h' + context.props.level, context.children) | |
} | |
}) | |
new Vue({ | |
el: "#root" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment