fix(quickstart): create app.ts before running tsc --watch

This commit is contained in:
Alex Eagle 2015-05-01 08:58:22 -07:00
parent 2dda353497
commit 1f3940977c
1 changed files with 7 additions and 8 deletions

View File

@ -27,6 +27,13 @@
This repository provides a faster start than building from <code>npm</code>.
This repository includes the Angular distribution and type definitions for TypeScript.
p.
Create two files, <code>index.html</code> and
<code>app.ts</code>, both at the root of the project:
pre.prettyprint
$ touch app.ts index.html
// STEP 2 - Start the TypeScript compiler ##########################
.l-main-section
h2#start-tsc 2. Run the TypeScript compiler
@ -49,14 +56,6 @@
.l-main-section
h2#section-transpile 3. Import Angular
p.
Create two files, <code>index.html</code> and
<code>app.ts</code>, both at the root of the project:
pre.prettyprint
$ touch index.html
$ touch app.ts
p Inside of <code>app.ts</code>, import the type definitions from Angular:
pre.prettyprint
code /&#47;/ &lt;reference path="typings/angular2/angular2.d.ts" /&gt;