1.
<script src="./vue.js"></script>
<div id="app">{{msg}}<div>
<p v-text="msg">原来内容</p>
<script>
vue vm= new vue({
el: "#app"
data: {
msg : hello world;
}
})
</script>
2.
V-bind
单向绑定
V-modle
双向绑定
3.
<script>
vue vm= new vue({
el: "#app"
data: {
day: '5',
month: '11',
year: '2019',
}
})
</script>