File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ npm install --save angular2localization
30
30
```
31
31
32
32
## Loading
33
- ### Using SystemJS configuration
33
+ #### Using SystemJS configuration
34
34
``` JavaScript
35
35
System .config ({
36
36
paths: {
@@ -56,18 +56,23 @@ System.config({
56
56
}
57
57
});
58
58
```
59
+
59
60
#### Angular-CLI
60
61
See [ Angular-CLI settings] ( https://github.com/robisim74/angular2localization/blob/master/doc/spec.md#Appendix%20A ) .
61
- #### Ionic 2
62
- [ Using Ionic 2] ( https://github.com/robisim74/angular2localization/blob/master/doc/spec.md#Appendix%20B ) with this library.
63
62
64
- ### Via webpack
63
+ #### AoT compilation
64
+ No need to set up anything, just import in your code.
65
+
66
+ #### Via webpack
65
67
Import the library in your ` vendor ` file after Angular 2 imports:
66
68
``` TypeScript
67
69
import ' angular2localization' ;
68
70
```
69
71
70
- ### Plain JavaScript
72
+ #### Ionic 2
73
+ [ Using Ionic 2] ( https://github.com/robisim74/angular2localization/blob/master/doc/spec.md#Appendix%20B ) with this library.
74
+
75
+ #### Plain JavaScript
71
76
If you build apps in Angular 2 using ES5, you can include the ` umd ` bundle in your ` index.html ` :
72
77
``` Html
73
78
<script src =" node_modules/angular2localization/bundles/angular2localization.umd.min.js" ></script >
Original file line number Diff line number Diff line change 1
1
# Angular 2 Localization library specification
2
- Library version: 1.0.0
2
+ Library version: 1.0.1
3
3
4
4
## Table of contents
5
5
* [ 1 The library structure] ( #1 )
You can’t perform that action at this time.
0 commit comments