aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/index.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-07 14:48:46 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-07 14:48:46 +0100
commit6f4e252246c715a1dafc1e236c8074b08cdd12a3 (patch)
treeafa187e6b1c192e315156499f01f1d7e040977e0 /client/index.html
parentb9a3e09ad5a7673f64556d1dba122ed4c4fac980 (diff)
downloadPeerTube-6f4e252246c715a1dafc1e236c8074b08cdd12a3.tar.gz
PeerTube-6f4e252246c715a1dafc1e236c8074b08cdd12a3.tar.zst
PeerTube-6f4e252246c715a1dafc1e236c8074b08cdd12a3.zip
Prepare Angular routes
Diffstat (limited to 'client/index.html')
-rw-r--r--client/index.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/client/index.html b/client/index.html
new file mode 100644
index 000000000..15ccedb74
--- /dev/null
+++ b/client/index.html
@@ -0,0 +1,40 @@
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="styles.css">
6
7 <!-- 1. Load libraries -->
8 <!-- IE required polyfills, in this exact order -->
9 <script src="node_modules/es6-shim/es6-shim.min.js"></script>
10 <script src="node_modules/systemjs/dist/system-polyfills.js"></script>
11 <script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
12
13 <script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
14 <script src="node_modules/systemjs/dist/system.src.js"></script>
15 <script src="node_modules/rxjs/bundles/Rx.js"></script>
16 <script src="node_modules/angular2/bundles/angular2.dev.js"></script>
17 <script src="node_modules/angular2/bundles/router.dev.js"></script>
18
19 <!-- 2. Configure SystemJS -->
20 <script>
21 System.config({
22 packages: {
23 app: {
24 format: 'register',
25 defaultExtension: 'js'
26 }
27 }
28 });
29 System.import('app/main')
30 .then(null, console.error.bind(console));
31 </script>
32
33 <base href="/">
34 </head>
35
36 <!-- 3. Display the application -->
37 <body>
38 <my-app>Loading...</my-app>
39 </body>
40</html>