- [ x ] Create index.html
- [ x ] Add Vue.js to index.html
- [ x ] Create a Vue instance in app.js
- [ x ] Show message from Vue instance on page
- [ x ] Create New Todo Form
- [ x ] Call a function when the form is submitted
- [ x ] Create a string property on our data to store the user input
- [ x ] Watch the property change as we type in the input
- [ x ] Log the user input when the form is submitted
- [ x ] Create an array property on our data for todos
- [ x] Push the new todo into the todos array, with done: false
- [ x ] Show the todos in a list
- Clear out the form
- Check done on a todo to mark it as done
- Show a line through the todo text
- Add a button to delete a todo
- Add a button to mark all todos as done
- Read the full guide at https://vuejs.org/v2/guide/
When I tried wit the file://
protocol and also http://0.0.0.0:8080/index.html
it worked but the link between data and view failed when using the localhost:8080
address, also when using http://10.209.2.191:8080/
it worked with the form but not with 0.0.0.0
.
I don't know what is going on.