You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/list.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# List Rendering
2
2
3
+
<divclass="vueschool"><ahref="https://vueschool.io/lessons/vuejs-loops?friend=vuejs"target="_blank"rel="sponsored noopener"title="Learn how to render lists on Vue School">Learn how to render list with a free Vue School lesson</a></div>
4
+
3
5
## Mapping an Array to Elements with `v-for`
4
6
5
7
We can use the `v-for` directive to render a list of items based on an array. The `v-for` directive requires a special syntax in the form of `item in items`, where `items` is the source data array and `item` is an **alias** for the array element being iterated on:
0 commit comments