Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 30e574c

Browse files
committed
finish aot setup for upgrade-phonecat-2-hybrid
1 parent 52f6693 commit 30e574c

File tree

4 files changed

+20
-14
lines changed

4 files changed

+20
-14
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
**/*.js
2-
aot/**/*.ts
2+
aot/**/*
3+
!aot/bs-config.json
4+
!aot/index.html
35
!rollup-config.js
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<!-- #docregion -->
2-
<!DOCTYPE html>
3-
<html>
2+
<!doctype html>
3+
<html lang="en">
44
<head>
5-
<base href="/">
6-
<title>Angular Tour of Heroes</title>
7-
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<meta charset="utf-8">
86

9-
<link rel="stylesheet" href="styles.css">
7+
<base href="/app/">
8+
9+
<title>Google Phone Gallery</title>
10+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
11+
<link rel="stylesheet" href="app.css" />
12+
<link rel="stylesheet" href="app.animations.css" />
1013

1114
<script src="https://code.jquery.com/jquery-2.2.4.js"></script>
1215
<script src="https://code.angularjs.org/1.5.5/angular.js"></script>
@@ -22,15 +25,16 @@
2225
<script src="phone-list/phone-list.module.js"></script>
2326
<script src="phone-detail/phone-detail.module.js"></script>
2427

25-
<script src="shim.min.js"></script>
26-
<script src="zone.min.js"></script>
27-
<!-- #docregion moduleId -->
28+
<script src="/node_modules/core-js/client/shim.min.js"></script>
29+
<script src="/node_modules/zone.js/dist/zone.min.js"></script>
30+
2831
<script>window.module = 'aot';</script>
29-
<!-- #enddocregion moduleId -->
3032
</head>
3133

3234
<body>
33-
<my-app>Loading...</my-app>
35+
<div class="view-container">
36+
<div ng-view class="view-frame"></div>
37+
</div>
3438
</body>
35-
<script src="dist/build.js"></script>
39+
<script src="/dist/build.js"></script>
3640
</html>

public/docs/_examples/upgrade-phonecat-2-hybrid/ts/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<!-- #docregion ng2 -->
2929
<script src="/node_modules/core-js/client/shim.min.js"></script>
30-
<script src="/node_modules/zone.js/dist/zone.js"></script>
30+
<script src="/node_modules/zone.js/dist/zone.min.js"></script>
3131
<script src="/node_modules/reflect-metadata/Reflect.js"></script>
3232
<script src="/node_modules/systemjs/dist/system.src.js"></script>
3333
<!-- #enddocregion ng2 -->

0 commit comments

Comments
 (0)