<!DOCTYPE html>
<html>
<head>
<title>这是一个测试</title>
</head>
<script src="https://cdn.bootcss.com/vue/2.2.6/vue.min.js"></script>
<body>
<div id="app">
<div>{{message}}</div>
<input type="text" id="two" v-model="message" />
</div>
</body>
</html>
<script type="text/javascript">
new Vue({
el:'#app',
data:{
message:'hellow word'
}
});
</script>
<html>
<head>
<title>这是一个测试</title>
</head>
<script src="https://cdn.bootcss.com/vue/2.2.6/vue.min.js"></script>
<body>
<div id="app">
<div>{{message}}</div>
<input type="text" id="two" v-model="message" />
</div>
</body>
</html>
<script type="text/javascript">
new Vue({
el:'#app',
data:{
message:'hellow word'
}
});
</script>