]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/index.html
f971b9fdba5d26f752051d042f2703494dec889f
[github/Chocobozzz/PeerTube.git] / client / index.html
1 <html>
2 <head>
3 <title>Angular 2 QuickStart</title>
4 <meta name="viewport" content="width=device-width, initial-scale=1">
5 <link rel="stylesheet" href="/stylesheets/index.css">
6
7 <!-- 1. Load libraries -->
8 <!-- IE required polyfills, in this exact order -->
9 <script src="app/node_modules/es6-shim/es6-shim.min.js"></script>
10 <script src="app/node_modules/systemjs/dist/system-polyfills.js"></script>
11 <script src="app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
12
13 <script src="app/node_modules/angular2/bundles/angular2-polyfills.js"></script>
14 <script src="app/node_modules/systemjs/dist/system.src.js"></script>
15 <script src="app/node_modules/rxjs/bundles/Rx.js"></script>
16 <script src="app/node_modules/angular2/bundles/angular2.dev.js"></script>
17 <script src="app/node_modules/angular2/bundles/router.dev.js"></script>
18
19 <!-- 2. Configure SystemJS -->
20 <script>
21 System.config({
22 packages: {
23 app: {
24 components: {
25 format: 'register',
26 defaultExtension: 'js'
27 }
28 }
29 }
30 });
31 System.import('app/components/bootstrap')
32 .then(null, console.error.bind(console));
33 </script>
34
35 <base href="/">
36 </head>
37
38 <!-- 3. Display the application -->
39 <body>
40 <my-app>Loading...</my-app>
41 </body>
42 </html>