<ul id="app">
<li v-for="(value, key) in object">
{{ key }}: {{ value }}
</li>
</ul>
new Vue({
el: '#app',
data: {
object: {
firstName: 'John',
lastName: 'Doe',
age: 30
}
}
})
This Pen doesn't use any external CSS resources.