Created
June 14, 2018 03:28
-
-
Save djirdehh/14c7760872bea6bcef866cf8c7908578 to your computer and use it in GitHub Desktop.
NumberComponent - simple single-file 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
<template> | |
<div> | |
<h2>The numbers are {{ numbers }}!</h2> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'NumberComponent', | |
data () { | |
return { | |
numbers: [1, 2, 3] | |
} | |
}, | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment