vue v-for key and value of array code example Example 1: vue v-for {{ item.message }} Example 2: v-for only getting one first value vuejs {{ location.from }} - {{ location.to }}