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:

  1. v-for="(
  2. item, index
  3. ) in items"