<body>
<div id="test">
<div></div>
<div>1</div>
<div>1</div>
</div>
</body>
<script>
new Vue({
el: '#test'
})
</script>
<body>
<div id="test">
</div>
</body>
<script>
new Vue({
el: '#test',
data:{ url : "<a href='http://www.naver.com'>네이버</a>"}
})
</script>
<body>
<div id="test">
<div v-html="url"></div>
</div>
</body>
<body>
<div id="test">
<div v-if="1 == 1"> 표시됨 </div>
<div v-if="1 == 0"> 표시안됨 </div>
<div v-text="text">text</div>
<button v-on:click="text='클릭 했습니다'">클릭하면 글자가 바뀝니다</button>
<ul>
<li v-for="value in list">
</li>
</ul>
</div>
</body>
<script>
var vue = new Vue({
el: '#test',
data:{ text : "클릭 안했어요",
list :["apple","banana","grape"]}
}
})
</script>