File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 42
42
know to read this file so we don't need to configure them or add command-line options.
43
43
44
44
pre.prettyprint
45
- # We need to use an unreleased version of TypeScript
46
- $ npm install -g mhegazy/typescript#v1.5-beta
45
+ $ npm install -g typescript@^1.5.0-beta
47
46
$ tsc --watch
48
47
49
48
// STEP 3 - Import Angular ##########################
217
216
adds ES6 module loading functionality to browsers.
218
217
219
218
p.
220
- Add the System.js dependency in the <code >< ; head> ; </code > tag:
219
+ Add the System.js dependency in the <code >< ; head> ; </code > tag, so that
220
+ it looks like:
221
221
222
222
pre.prettyprint.linenums
223
223
code.
224
224
< head>
225
+ < title> Angular 2 Quickstart< /title>
226
+ < script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js">< /script>
225
227
< script src="https://jspm.io/system@0.16.js">< /script>
228
+ < script src="bundle/angular2.dev.js">< /script>
226
229
< /head>
227
230
228
231
p.
229
232
Add the following module-loading code before the <code >< ; my-app> ; </code > tag:
230
233
231
234
pre.prettyprint.linenums
232
235
code.
233
- < script> System.import('app');< /script>
234
236
< my-app>< /my-app>
237
+ < script> System.import('app');< /script>
235
238
236
239
237
240
// STEP 8 - Run a local server ##########################
You can’t perform that action at this time.
0 commit comments