A word on ES6.
This commit is contained in:
parent
685b2fe3c5
commit
6448553a3c
|
@ -18,14 +18,25 @@
|
|||
p
|
||||
| For the sake of this quickstart we recommend using the
|
||||
a(href="https://github.com/davideast/conscious") <code>es6-shim</code> GitHub repository.
|
||||
| This repository will provide a faster start.
|
||||
| This repository will provide a faster start. <code>es6-shim</code> includes Angular and dependencies to compile ES6 in incompatible browsers.
|
||||
|
||||
p
|
||||
| Angular is available on npm. But, the es6-shim repository comes with the Angular npm package. This package includes the dependencies needed to write ES6 in the browser. Think of the es6-shim repository as package rather than a new project.
|
||||
p
|
||||
| For the sake of this quickstart we recommend using the <code>es6-shim</code> GitHub repository for a faster start. Angular can be installed through <code>npm</code>. The <code>es6-shim</code> repository comes with the Angular <code>npm</code> package and includes all of the dependencies needed to write ES6 that compiles in the browser. Think of the <code>es6-shim</code> repository as package rather than a new project. Clone the repository inside of aleady existing project.
|
||||
pre
|
||||
code git clone https://github.com/davideast/concious.git es6-shim
|
||||
| Clone the repository inside of aleady existing project.
|
||||
|
||||
pre
|
||||
code git clone https://github.com/davideast/concious.git es6-shim
|
||||
|
||||
section.docs-sub-section
|
||||
h4 A word on ES6
|
||||
p
|
||||
| Angular builds on top of ES6, the new specification of the JavaScript language. Not all ES6 features are available in all browsers. The following es6-shim repository allows you to use ES6 in the browser today.
|
||||
|
||||
p
|
||||
| Angular is available on npm. Configuring Angular to run ES6 in the browser requires a build process, detailed here.
|
||||
|
||||
p
|
||||
| The es6-shim package includes Angular and dependencies needed to compile ES6 in the browser. Think of the es6-shim repository as package rather than a new project.
|
||||
|
||||
|
||||
// STEP 2 - Import Angular ##########################
|
||||
.content-block.content-number.clearfix
|
||||
|
|
Loading…
Reference in New Issue