Put in order · Vue.js course · Module 2: Template Syntax
v-for Syntax with Index
Arrange the correct v-for syntax with index access:
Items to put in order
- item, index
- ) in items"
- v-for="(
Show the answer
Correct order:
- v-for="(
- item, index
- ) in items"