Last active
November 17, 2018 05:29
-
-
Save PierBover/88c5f56c6a5c13d27ed9fc8fa82836cf 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
<div id="fruits"> | |
<my-fruit v-for="fruit in fruits" :fruit-name="fruit"></my-fruit> | |
</div> | |
<script> | |
var component = new Vue({ | |
el: '#fruits', | |
data: { | |
fruits: ['Apple', 'Banana', 'Mango'] | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment