条件渲染+列表渲染 问题
想知道这样写怎么运行不出来
<body>
<div id="app">
{{msg}}
<ul>
<li v-for="v in list1">
<li v-if="v<5">
{{v}}
</li>
</li>
</ul>
</div>
<script>
new Vue({
el: "#app",
data: {
msg: "Welcome to Vue world.",
list1: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
}
})
</script>