This repository was archived by the owner on Feb 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
65 lines (63 loc) · 2.1 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon.ico" />
<title>Petite Vue Starter</title>
</head>
<body>
<div
class="min-h-screen bg-gray-100 py-6 flex flex-col justify-center sm:py-12"
>
<div class="relative py-3 sm:max-w-xl sm:mx-auto">
<div
class="absolute inset-0 bg-gradient-to-r from-cyan-400 to-sky-500 shadow-lg -skew-y-6 sm:skew-y-0 sm:-rotate-6 sm:rounded-3xl"
></div>
<div
class="relative px-4 py-10 bg-white shadow-lg sm:rounded-3xl sm:p-20"
>
<div class="max-w-md mx-auto">
<div class="divide-y divide-gray-200">
<div
class="py-8 text-base leading-6 space-y-4 text-gray-700 sm:text-lg sm:leading-7"
>
<div
id="app"
class="flex justify-between items-center"
@mounted="mounted($el)"
>
<div>
<p>
Count:
<span v-cloak class="tag">{{ count }}</span>
</p>
<p>
Plus one:
<span v-cloak class="tag">{{ plusOne }}</span>
</p>
</div>
<button class="btn" @click="increment">Increment</button>
</div>
</div>
<div
class="pt-6 text-base font-bold leading-6 sm:text-lg sm:leading-7"
>
<p>Want to dig deeper into Petite Vue?</p>
<p>
<a
href="https://github.com/vuejs/petite-vue"
class="text-sky-500 hover:text-sky-600"
>
Head over to the docs →
</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="module" src="./src/main.ts"></script>
</body>
</html>