Skip to content

Commit c74b9aa

Browse files
committed
Update repeat component explanation on component system
1 parent 0c5ff71 commit c74b9aa

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)