Skip to content

Commit 42e8e7a

Browse files
committed
Update documentation
1 parent c82772a commit 42e8e7a

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ npm install --save angular2localization
3030
```
3131

3232
## Loading
33-
### Using SystemJS configuration
33+
#### Using SystemJS configuration
3434
```JavaScript
3535
System.config({
3636
paths: {
@@ -56,18 +56,23 @@ System.config({
5656
}
5757
});
5858
```
59+
5960
#### Angular-CLI
6061
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.
6362

64-
### Via webpack
63+
#### AoT compilation
64+
No need to set up anything, just import in your code.
65+
66+
#### Via webpack
6567
Import the library in your `vendor` file after Angular 2 imports:
6668
```TypeScript
6769
import 'angular2localization';
6870
```
6971

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
7176
If you build apps in Angular 2 using ES5, you can include the `umd` bundle in your `index.html`:
7277
```Html
7378
<script src="node_modules/angular2localization/bundles/angular2localization.umd.min.js"></script>

doc/spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Angular 2 Localization library specification
2-
Library version: 1.0.0
2+
Library version: 1.0.1
33

44
## Table of contents
55
* [1 The library structure](#1)

0 commit comments

Comments
 (0)