commit
26c20966fe
|
@ -23,12 +23,12 @@ p.
|
|||
p Within your project, clone the es6-shim repository:
|
||||
|
||||
pre.prettyprint
|
||||
code git clone https://github.com/davideast/conscious.git es6-shim
|
||||
code git clone https://github.com/angular/angular2-quickstart.git
|
||||
|
||||
p.
|
||||
For the sake of this quickstart we recommend using the
|
||||
<a href="https://github.com/davideast/conscious"> <code>es6-shim</code> GitHub repository</a>.
|
||||
This repository provides a faster start than building from <code>npm</code>. The <code>es6-shim</code> includes Angular and dependencies to compile ES6 in incompatible browsers.
|
||||
<a href="https://github.com/angular/angular2-quickstart"> <code>angular2-quickstart</code> GitHub repository</a>.
|
||||
This repository provides a faster start than building from <code>npm</code>. This repository includes Angular and dependencies to compile ES6 in incompatible browsers.
|
||||
|
||||
.l-sub-section
|
||||
h3 ES6, AtScript, and the es6-shim
|
||||
|
@ -67,7 +67,9 @@ p.
|
|||
touch index.html
|
||||
touch app.es6
|
||||
|
||||
.alert.is-helpful The <code>.es6</code> extension signifies that the file uses ES6 syntax.
|
||||
.alert.is-helpful.
|
||||
The <code>.es6</code> extension signifies that the file uses ES6 syntax. If your editor doesn't
|
||||
support syntax highlighting for .es6, use .js.
|
||||
|
||||
p Inside of <code>app.es6</code>, import the required modules from Angular:
|
||||
|
||||
|
|
Loading…
Reference in New Issue