0👍
did you set id="app"
to bind vue object and html?
I don’t think it is binding.
<title>for vue</title>
<link rel="stylesheet" href="main.css">
<div id="app">
<ol>
<li v-for="item in list" >{{item}}</li>
</ol>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10"></script>
<script>
var app = new Vue({
el: '#app',
data: {
list: ['apple','banana','stew',]
}
})
</script>
Source:stackexchange.com