+2
-10
lines changedFilter options
+2
-10
lines changed Original file line number Diff line number Diff line change
@@ -23,18 +23,10 @@ <h1 v-text="title"></h1>
23
23
<ul class="todo-list">
24
24
<!-- These are here just to show the structure of the list items -->
25
25
<!-- List items should get the class `editing` when editing and `completed` when marked as completed -->
26
-
<li class="completed">
27
-
<div class="view">
28
-
<input class="toggle" type="checkbox" checked>
29
-
<label>Taste JavaScript</label>
30
-
<button class="destroy"></button>
31
-
</div>
32
-
<input class="edit" value="Create a TodoMVC template">
33
-
</li>
34
-
<li>
26
+
<li v-for="todo in todos">
35
27
<div class="view">
36
28
<input class="toggle" type="checkbox">
37
-
<label>Buy a unicorn</label>
29
+
<label>{{todo.text}}</label>
38
30
<button class="destroy"></button>
39
31
</div>
40
32
<input class="edit" value="Rule the web">
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4