Created
July 18, 2019 10:23
-
-
Save marvinrabe/59c3998821ac180315a8d9e355b0efad to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<template> | |
<div> | |
<foo /> | |
</div> | |
</template> | |
<script> | |
export const foo = { | |
render(createElement) { | |
return createElement('p', 'Foo!') | |
} | |
} | |
export default { | |
components: { | |
foo | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment