<ul id="app">
<li v-for="(item, index) in items">
{{ index }}. {{ item.message }}
</li>
</ul>
var vm = new Vue({
el: '#app',
data: {
items: [
{ message: 'apple' },
{ message: 'banana' }
]
}
})
This Pen doesn't use any external CSS resources.