for var key in vue code example Example 1: vue loop through object {{ item.message }} Example 2: v-for {{ item.message }}