forked from QiuMing/resume-angular2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (41 loc) · 1.59 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
46
47
48
49
50
<html>
<head>
<title>Angular 2 QuickStart</title>
<!-- 1. Load libraries -->
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
<script src="node_modules/systemjs/dist/system-polyfills.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.js"></script>
<script src="node_modules/rxjs/bundles/Rx.min.js"></script>
<!-- <link rel="stylesheet" href="dist/css/style.min.css"> -->
<link rel="stylesheet" href="dist/css/print.css">
<link rel="stylesheet" href="dist/css/fontello.min.css">
<!-- 2. Configure SystemJS -->
<script>
System.config({
packages: {
app: {
format: 'register',
defaultExtension: 'js'
}
},
map: {
moment: 'node_modules/moment/moment.js',
"@angular/core": "node_modules/@angular/core/core.umd.js",
"@angular/router": "node_modules/@angular/router/router.umd.js",
"@angular/common": "node_modules/@angular/common/common.umd.js",
"@angular/compiler": "node_modules/@angular/compiler/compiler.umd.js",
"@angular/platform-browser": "node_modules/@angular/platform-browser/platform-browser.umd.js",
"@angular/platform-browser-dynamic": "node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js",
}
});
System.import('app/boot')
.then(null, console.error.bind(console));
</script>
</head>
<!-- 3. Display the application -->
<body>
<my-app>Loading...</my-app>
</body>
</html>