docs: add universal guide with production client app (#18707)

Revises both universal and client build to use AOT and webpack for both.
Guide text adjusted accordingly
Dodges CLI client build, expected in near future.

PR Close #18707
This commit is contained in:
Ward Bell
2017-09-14 19:47:33 -07:00
committed by Chuck Jazdzewski
parent 0b0d25fa33
commit 555b1cdf29
14 changed files with 1419 additions and 1177 deletions

View File

@ -4,19 +4,20 @@
<head>
<base href="/">
<title>Angular Universal Tour of Heroes</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.css">
<!-- Polyfills -->
<script src="node_modules/core-js/client/shim.min.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="systemjs.config.js"></script>
<script>
System.import('main.js').catch(function(err){ console.error(err); });
System.import('main.js')
.catch(function(err){ console.error(err); });
</script>
</head>