Skip to content

Commit 1964c94

Browse files
author
Kim Biesbjerg
committed
Update README. Closes PR #13
1 parent 0ab1705 commit 1964c94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
# Description
22
Load po files for use with `ngx-translate`
33

4+
## Installation:
5+
6+
```
7+
+npm i @ngx-translate/core --save
8+
+npm i @biesbjerg/ngx-translate-po-http-loader --save
9+
```
10+
411
## Usage:
512
```ts
613
import { HttpClient, HttpClientModule } from '@angular/common/http';
714

15+
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
816
import { TranslatePoHttpLoader } from '@biesbjerg/ngx-translate-po-http-loader';
917

1018
export function createTranslateLoader(http: HttpClient) {

0 commit comments

Comments
 (0)