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

Commit 1f39409

Browse files
committed
fix(quickstart): create app.ts before running tsc --watch
1 parent 2dda353 commit 1f39409

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

public/docs/js/latest/quickstart.jade

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
<a href="https://github.com/angular/ts-quickstart"> <code>quickstart</code> GitHub repository</a>.
2727
This repository provides a faster start than building from <code>npm</code>.
2828
This repository includes the Angular distribution and type definitions for TypeScript.
29+
30+
p.
31+
Create two files, <code>index.html</code> and
32+
<code>app.ts</code>, both at the root of the project:
33+
34+
pre.prettyprint
35+
$ touch app.ts index.html
2936

3037
// STEP 2 - Start the TypeScript compiler ##########################
3138
.l-main-section
@@ -49,14 +56,6 @@
4956
.l-main-section
5057
h2#section-transpile 3. Import Angular
5158

52-
p.
53-
Create two files, <code>index.html</code> and
54-
<code>app.ts</code>, both at the root of the project:
55-
56-
pre.prettyprint
57-
$ touch index.html
58-
$ touch app.ts
59-
6059
p Inside of <code>app.ts</code>, import the type definitions from Angular:
6160
pre.prettyprint
6261
code /&#47;/ &lt;reference path="typings/angular2/angular2.d.ts" /&gt;

0 commit comments

Comments
 (0)