Skip to content

Commit 1b8b582

Browse files
committed
Merge pull request #96 from vuejs-jp/update/repeat_new_syntax
Update repeat component explanation on component system
2 parents 1844586 + c74b9aa commit 1b8b582

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/guide/components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,14 +472,14 @@ var parent2 = new Vue({
472472
})
473473
</script>
474474

475-
### Repeat Component with Identifier
475+
### Repeat Component with alias
476476

477-
The identifier syntax also works when using a component, and the repeated data will be set as a property on the component using the identifier as the key:
477+
The alias syntax also works when using a component, and the repeated data will be set as a property on the component using the alias as the key:
478478

479479
``` html
480480
<ul id="list-example">
481481
<!-- data available inside component as `this.user` -->
482-
<user-profile v-repeat="user:users"></user-profile>
482+
<user-profile v-repeat="user in users"></user-profile>
483483
</ul>
484484
```
485485

0 commit comments

Comments
 (0)