-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·36 lines (36 loc) · 988 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="src/index.css">
<style>
html, body {
height: 100%;
margin: 0;
}
dnit-main {
width: 100%;
height: 100%;
}
</style>
<script src="jspm_packages/system.js"></script>
<script src="jspm.browser.js"></script>
<script src="jspm.config.js"></script>
<script type="text/javascript">
(!/\bdev\b/.test(window.location.search) ? System.import("build/index.js") : System.import("webcomponents.js"))
.catch(function(e) {
console.log(e);
console.warn("The project hasn't been built yet, add the \"dev\" query string parameter to launch it from the \"src\" folder.");
})
.then(function() {
return System.import("src/index.js");
});
</script>
</head>
<body>
<dnit-main></dnit-main>
</body>
</html>