This example demonstrates using v-for
in a template to show a simple nested data structure, namely an array of objects.
Weather on {{ date }}
{{ c.cityName }} | {{ c.temperature }}°C |
Try the following
vm.city
and check that the view is updated.vm.city.push( { cityName: 'Coimbra', temperature: 19, condition: 'cloudy' } )