-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (35 loc) · 986 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div id="app">
<span>打工人: {{name}}</span>
<input type="text" v-model="name" />
<span>工资:{{more.salary}}</span>
<input type="text" v-model="more.salary" />
<!-- <h6>
感谢蛋老师的知识分析
<a href="https://www.bilibili.com/video/BV1934y1a7MN" target="_blank">原视频</a>
。新人整理不易 欢迎大家关注我的掘金一起讨论问题哦 顺便再给写的文章点个赞就好了 :)
<a href="https://juejin.cn/user/1372654389433496" target="_blank">juejin</a>
</h6>-->
</div>
</body>
</html>
<script type="module" src="./Vue.js"></script>
<script type="module">
import Vue from './Vue.js';
const vm = new Vue({
el: '#app',
data: {
name: '西维',
more: {
salary: 1000
}
}
})
console.log(vm)
</script>