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