Skip to content

Instantly share code, notes, and snippets.

@slmanju
Created August 2, 2018 04:09
Show Gist options
  • Save slmanju/43049c883ef2f6225dfec0cc2592bf4d to your computer and use it in GitHub Desktop.
Save slmanju/43049c883ef2f6225dfec0cc2592bf4d to your computer and use it in GitHub Desktop.
<template>
<div id="todo-list">
<ul>
<li v-for="todo in todos">{{ todo }}</li>
</ul>
</div>
</template>
<script>
export default {
data: function() {
return {
todos: [
'Todo A',
'Todo B',
'Todo C'
]
}
}
}
</script>
<style>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment