0๐
new Vue({
el: '#app',
data() {
return {
json: {lastUpdate: 1571616000, language: 'en', data: [ { itemId: '1e3ac1f-6f1ddb0-583cac2-474acb6', item: {name: 'Dark'} } ]}
}
}
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<div id="app">
<div v-for="parentItem in json.data">
{{parentItem.item.name}}
</div>
</div>
- [Vuejs]-Cannot read property '_layerAdd' of undefined (vue + leaflet)
- [Vuejs]-Get result outside Vue istance
Source:stackexchange.com