-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (44 loc) · 1.6 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
40
41
42
43
44
45
<!doctype html>
<!-- test -->
<html>
<head>
<title>chart-example</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="https://frontendcreator.com/favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body aurelia-app="main">
<h1>Loading...</h1>
<script src="https://unpkg.com/systemjs@0.19.41/dist/system.js"></script>
<!-- <script src="https://unpkg.com/systemjs@0.20.0-rc.4/dist/system.js"></script> -->
<!-- Another test final. The following loads the standard dependencies -->
<script src="systemjs.config.js"></script>
<script>
// This script loads any custom dependencies. These are the dependencies that are unique to
// a given project.
System.config({
// map tells the System loader where to look for things
map: {
// Custom Dependencies - these vary per project
'bootstrap': 'npm:bootstrap@3.3.7',
'chart.js': 'npm:chart.js@2.7.2/dist/Chart.bundle.min.js',
},
// packages tells the System loader how to load when no filename and/or no extension
packages: {
bootstrap: {
defaultExtension: 'css',
meta: {
'*.css': {
loader: 'plugin-css'
},
'*.js': {
loader: 'systemjs-loader.js'
},
}
},
}
});
</script>
</body>
</html>