-
-
Save dvallin/8f9ca9abab521e65a580867e3b321d50 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
<template> | |
<ul class="todo-list" > | |
<li class="task" v-for="task in tasks"> | |
<todo-list-item :task="task"></todo-list-item> | |
</li> | |
</ul> | |
</template> | |
<script lang="ts"> | |
import TodoListItem from './TodoListItem' | |
export default { | |
name: 'TodoList', | |
props: ['tasks'], | |
components: { | |
TodoListItem | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment