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.
|
know to read this file so we don't need to configure them or add command-line options.
|
||||||
|
|
||||||
pre.prettyprint
|
pre.prettyprint
|
||||||
# We need to use an unreleased version of TypeScript
|
$ npm install -g typescript@^1.5.0-beta
|
||||||
$ npm install -g mhegazy/typescript#v1.5-beta
|
|
||||||
$ tsc --watch
|
$ tsc --watch
|
||||||
|
|
||||||
// STEP 3 - Import Angular ##########################
|
// STEP 3 - Import Angular ##########################
|
||||||
|
@ -217,12 +216,16 @@
|
||||||
adds ES6 module loading functionality to browsers.
|
adds ES6 module loading functionality to browsers.
|
||||||
|
|
||||||
p.
|
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
|
pre.prettyprint.linenums
|
||||||
code.
|
code.
|
||||||
<head>
|
<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="https://jspm.io/system@0.16.js"></script>
|
||||||
|
<script src="bundle/angular2.dev.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
p.
|
p.
|
||||||
|
@ -230,8 +233,8 @@
|
||||||
|
|
||||||
pre.prettyprint.linenums
|
pre.prettyprint.linenums
|
||||||
code.
|
code.
|
||||||
<script>System.import('app');</script>
|
|
||||||
<my-app></my-app>
|
<my-app></my-app>
|
||||||
|
<script>System.import('app');</script>
|
||||||
|
|
||||||
|
|
||||||
// STEP 8 - Run a local server ##########################
|
// STEP 8 - Run a local server ##########################
|
||||||
|
|
Loading…
Reference in New Issue