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