-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex-ts.html
29 lines (29 loc) · 1001 Bytes
/
index-ts.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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="./dist/js/lib/custom-elements-es5-adapter.js"></script>
<script src="./dist/js/lib/webcomponents-loader.js"></script>
<script src="./dist/js/lib/vendors-ts.js"></script>
<script src="./dist/js/wc-ts/std-button.js"></script>
<script src="./dist/js/wc-ts/lit-button.js"></script>
<style>
button {
padding: 8px;
border-radius: 4px;
}
</style>
<title>WebComponents Sample (Transpiled by TypeScript)</title>
</head>
<body>
<h1>WebComponents Sample (Transpiled by TypeScript)</h1>
<button>Default Button</button>
<std-button>Web Components Button</std-button>
<lit-button>LitElement Button</lit-button>
<ul>
<li><a href="report-ts.html">Bundle Analyse Report</a></li>
<li><a href="index.html">Transpiled by Babel</a></li>
</ul>
</body>
</html>