Skip to content

Instantly share code, notes, and snippets.

@cristofersousa
Last active May 10, 2018 14:16
Show Gist options
  • Save cristofersousa/5d56a9b16c213470aafcd62833b9209a to your computer and use it in GitHub Desktop.
Save cristofersousa/5d56a9b16c213470aafcd62833b9209a to your computer and use it in GitHub Desktop.
<div id="app">
<ul>
<li v-for="fruits in list">
{{fruits}}
</li>
</ul>
</div>
<script>
let app = new Vue({
el: '#app',
data: {
fruits: ['maça, abacaxi, goiaba, pessego, pera, damasco, tomate],
]
}
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment