The ToDos component code is incomplete as it doesn’t map the todo.title
.
Instead of:
<li v-for="todo in todos" :key="todo.id"></li>
It should be:
<li v-for="todo in todos" :key="todo.id">{{ todo.title }}</li>
The ToDos component code is incomplete as it doesn’t map the todo.title
.
Instead of:
<li v-for="todo in todos" :key="todo.id"></li>
It should be:
<li v-for="todo in todos" :key="todo.id">{{ todo.title }}</li>