fix(quickstart): Update TS quickstart to use newly released TS 1.5.0 beta.
This commit is contained in:
parent
2bb004c44a
commit
c3c813b4bb
|
@ -42,8 +42,7 @@
|
|||
know to read this file so we don't need to configure them or add command-line options.
|
||||
|
||||
pre.prettyprint
|
||||
# We need to use an unreleased version of TypeScript
|
||||
$ npm install -g mhegazy/typescript#v1.5-beta
|
||||
$ npm install -g typescript@^1.5.0-beta
|
||||
$ tsc --watch
|
||||
|
||||
// STEP 3 - Import Angular ##########################
|
||||
|
@ -217,12 +216,16 @@
|
|||
adds ES6 module loading functionality to browsers.
|
||||
|
||||
p.
|
||||
Add the System.js dependency in the <code><head></code> tag:
|
||||
Add the System.js dependency in the <code><head></code> tag, so that
|
||||
it looks like:
|
||||
|
||||
pre.prettyprint.linenums
|
||||
code.
|
||||
<head>
|
||||
<title>Angular 2 Quickstart</title>
|
||||
<script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js"></script>
|
||||
<script src="https://jspm.io/system@0.16.js"></script>
|
||||
<script src="bundle/angular2.dev.js"></script>
|
||||
</head>
|
||||
|
||||
p.
|
||||
|
@ -230,8 +233,8 @@
|
|||
|
||||
pre.prettyprint.linenums
|
||||
code.
|
||||
<script>System.import('app');</script>
|
||||
<my-app></my-app>
|
||||
<script>System.import('app');</script>
|
||||
|
||||
|
||||
// STEP 8 - Run a local server ##########################
|
||||
|
|
Loading…
Reference in New Issue