-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (31 loc) · 805 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Kapton sample (Polymer 2)</title>
<script>
// Setup Polymer options
window.Polymer = {
dom: 'shadow',
lazyRegister: true
};
// Load webpack bundle dynamically so it'll be not handled by polymer-cli.
var script = document.createElement('script');
script.src = 'app/bundle.js';
document.head.appendChild(script);
</script>
<style>
body {
font-family: 'Roboto', 'Noto', sans-serif;
font-size: 14px;
margin: 0;
background: #eee;
}
</style>
<script src="app/bower_components/webcomponentsjs/webcomponents-loader.js"></script>
<link rel="import" href="app/components/sample-app.html">
</head>
<body unresolved>
<sample-app></sample-app>
</body>
</html>