-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (30 loc) · 1.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
<title>Vite + Lit + TS</title>
<link rel="stylesheet" href="./src/index.css" />
<script type="module" src="/src/app-navbar.ts"></script>
<script type="module" src="/src/my-element.ts"></script>
<script
src="https://jspm.dev/@spectrum-web-components/bundle/elements.js"
type="module" async
></script>
</head>
<body>
<app-navbar></app-navbar>
<my-element>
<h1>Dan Fredley1</h1>
</my-element>
<sp-theme scale="large" color="dark">
<!-- Insert content requiring theme application here. -->
<sp-button onclick="alert('I was clicked');">Click me!</sp-button>
<!-- End content requiring theme application. -->
</sp-theme>
</body>
</html>