commit | author | age
|
2b50a7
|
1 |
<!DOCTYPE html> |
CM |
2 |
<html lang="en"> |
|
3 |
<head> |
|
4 |
<meta charset="UTF-8" /> |
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
|
6 |
<title>Vue Basics</title> |
|
7 |
<link |
|
8 |
href="https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap" |
|
9 |
rel="stylesheet" |
|
10 |
/> |
|
11 |
<link rel="stylesheet" href="styles.css" /> |
|
12 |
<script src="https://unpkg.com/vue@3.4.9/dist/vue.global.js"></script> |
|
13 |
<script src="app.js" defer></script> |
|
14 |
</head> |
|
15 |
<body> |
|
16 |
<header> |
|
17 |
<h1>Vue Behind The Scenes</h1> |
|
18 |
</header> |
|
19 |
<section id="app"> |
|
20 |
<h2>How Vue Works</h2> |
|
21 |
<input type="text" @input="saveInput"> |
|
22 |
<button @click="setText">Set Text</button> |
|
23 |
<p>{{ message }}</p> |
|
24 |
</section> |
|
25 |
<section id="app2"> |
30fe86
|
26 |
|
2b50a7
|
27 |
</section> |
CM |
28 |
</body> |
|
29 |
</html> |