forked from aurelia-ui-toolkits/skeleton-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (32 loc) · 1.03 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
<!doctype html>
<html>
<head>
<title>Skeleton Bridge App</title>
<link rel="stylesheet" href="jspm_packages/npm/font-awesome@4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="styles/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body aurelia-app="main">
<div class="splash">
<div class="message">Skeleton Bridge App</div>
<i class="fa fa-spinner fa-spin"></i>
</div>
<script src="jspm_packages/system.js"></script>
<script src="config.js"></script>
<script>
System.import('aurelia-bootstrapper');
// Load the package.json from the root to get the package name
System.import("root/package.json!").then(function(m) {
var cfg = {
packages: {}
};
// Create a new systemjs package with the package name
cfg.packages[m.name] = {
"main": "index",
"dependencies": m.jspm.dependencies
};
System.config(cfg);
});
</script>
</body>
</html>