-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (33 loc) · 1.03 KB
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vue 3</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body>
<div id="app">
<span p-text="message"></span>
<br>
<input type="text" p-model="message" />
<input type="text" p-model="lorem" />
<br>
<img p-bind="src:lorem">
</div>
<!-- <script src="https://unpkg.com/vue@next"></script> -->
<script src="./mini-vue.js"></script>
<script>
const { createApp } = miniVue;
const app = createApp({
data() {
return {
message: "Hola World",
lorem: "https://picsum.photos/200/300"
}
}
})
app.mount("#app")
</script>
</body>
</html>