Skip to content
masterclass Buddy

Vue.js · Directive

v-for

The v-for directive repeats an element or template block for values from an array, object, number, string, or iterable. It supports aliases for the current value and optional index or object key.

Last updated

Syntax

v-for="item in items"
v-for="(item, index) in items"
v-for="(value, key, index) in object"

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • v-if
  • key
  • computed
  • template

Source: List Rendering | Vue.js. Checked 2026-11-03.