Skip to content

Commit 047a2e5

Browse files
committed
Add link for List Rendering lesson
1 parent 61ac1ab commit 047a2e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/guide/list.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# List Rendering
22

3+
<div class="vueschool"><a href="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+
35
## Mapping an Array to Elements with `v-for`
46

57
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

Comments
 (0)