Skip to content

Commit eee2ef6

Browse files
committed
docs(ngComponentRouter): add note about shims needed for IE
1 parent 0cbe7fb commit eee2ef6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/ngComponentRouter/Router.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
* @installation
55
* ## Installation
66
*
7-
* Currently use `npm` to install the **Component Router** module:
7+
* Currently, the **Component Router** module must be installed via `npm`, it is not yet available
8+
* on Bower or the Google CDN.
89
*
910
* ```bash
1011
* npm install @angular/router --save
@@ -15,6 +16,14 @@
1516
* <script src="/node_modules/@angular/router/angular1/angular_1_router.js"></script>
1617
*```
1718
*
19+
* You also need to include ES6 shims to support running on Internet Explorer:
20+
* ```html
21+
* <!-- IE required polyfills, in this exact order -->
22+
* <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
23+
* <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script>
24+
* <script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
25+
* ```
26+
*
1827
* Then load the module in your application by adding it as a dependent module:
1928
*
2029
* ```js

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy