1 Star 0 Fork 0

云帆/handWriteVue-easy

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
index.html 1.01 KB
Copy Edit Raw Blame History
云帆 authored 2023-05-17 16:00 +08:00 . 初次提交,简写Vue
<!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">
<div>{{age}}</div>
<div>{{more.test}}</div>
<div>{{more.hobby.one}}</div>
<input type="text" v-model="age">
</div>
<script src="./Vue.js"></script>
<script>
let vm = new Vue({
el : 'app',
data(){
return {
age: 12,
more:{
test:'谢云帆',
hobby:{
one : '篮球'
}
}
}
},
methods:{
changeNum() {
this.age = 22
}
}
})
console.log(vm);
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xieyunfan/hand-write-vue-easy.git
git@gitee.com:xieyunfan/hand-write-vue-easy.git
xieyunfan
hand-write-vue-easy
handWriteVue-easy
master

Search