Let's look at a simple example here!
I'm building a To do List App. So I build a component called Todo
and inside my TodoList
component I will call Todo
component like this
<todo v-for="todo in todos" v-bind:key="todo" v-bind:todo="todo"></todo>
Hope it helps!