diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2016-05-03 15:47:25 +0300 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2016-05-03 15:47:25 +0300 |
commit | d6b9a46c9198a62834de3a5af2f5e36e349a32f3 (patch) | |
tree | f51b1df51cb65f7ad4e7e36f319203ba9485720c | |
parent | 1d832af643ae0d5954ea9f276548dcf9d0bdc61d (diff) | |
download | vaadin-core-d6b9a46c9198a62834de3a5af2f5e36e349a32f3.tar.gz vaadin-core-d6b9a46c9198a62834de3a5af2f5e36e349a32f3.zip |
Update Angular docs for 2.0.0-rc.0
-rw-r--r-- | docs/angular2.adoc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/angular2.adoc b/docs/angular2.adoc index 152a949..a1a2364 100644 --- a/docs/angular2.adoc +++ b/docs/angular2.adoc @@ -17,12 +17,13 @@ Although Angular 2 dependecies are typically installed via https://www.npmjs.com To install a Vaadin Core Element, you should run the following command in your project directory (replace the `[element-name]` part with the actual name of the element). [NOTE] -Angular 2 support was introduced in `1.1.0-alpha1` versions of each element. -Minimum requirement for the Angular version is `2.0.0-beta.16` or newer. +Angular 2 support was introduced in `1.1.0-alpha1` versions of each element. + +For element versions `1.1.0-beta2` or newer, use Angular version `2.0.0-rc.0`. + +For element versions `1.1.0-alpha1 to 1.1.0-beta1`, use Angular version `2.0.0-beta.16/17`. [source,bash] ---- -bower install --save vaadin-[element-name]#1.1.0-alpha1 +bower install --save vaadin-[element-name]#1.1.0-beta2 ---- After the Bower installation is completed, you need to add the Web Components polyfill to the `<head>` section of your `index.html` file. @@ -45,6 +46,7 @@ Add the following `packages` entry for `bower_components` to your configuration [source,javascript] ---- System.config({ + map: 'bower_components': 'bower_components', packages: { 'bower_components': { defaultExtension: 'js' |