<head><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><metaname="viewport"content="width=device-width, initial-scale=1.0"><scriptsrc="https://unpkg.com/vue@next"></script><title>Document</title></head><body><divid="app"><div><span>Add a todo </span><formv-on:submit.prevent="addNewTodo"><inputv-model="mes"><button>Add</button></form></div><div><ul><todo-itemv-for="(item,index) in books":name="item.name":key="index"v-on:remove="books.splice(index,1)"></todo-item></ul></div></div></body>