v-for vue js in template code example Example 1: vue for loop {{ value }} Example 2: v-for only getting one first value vuejs {{ location.from }} - {{ location.to }}