30 lines
577 B
HTML
30 lines
577 B
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Document</title>
|
||
</head>
|
||
<body>
|
||
<div id="app">
|
||
<input type="text" name="" id="" v-model="message">
|
||
<br> data中的数据:{{message}}
|
||
</div>
|
||
</body>
|
||
<script src="../JavaScript/vue.min.js"></script>
|
||
<script>
|
||
const vue=new Vue({
|
||
el:"#app",
|
||
data:{
|
||
message:"你好呀"
|
||
},
|
||
methods: {
|
||
|
||
},
|
||
computed:{
|
||
|
||
}
|
||
})
|
||
</script>
|
||
</html> |