From 578acbfa94790f73ccc92735f3dfcee4794ac22c Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Thu, 7 Jun 2018 10:34:02 +0300 Subject: [PATCH] docs: update installation instructions add `moment` as a dependency. Also remove note regarding TypeScript 1.8, as it is no longer relevant for Angular 5+ users. close #194 --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4f15290..bb09521 100644 --- a/README.md +++ b/README.md @@ -11,18 +11,18 @@ For an Angular 2 / 4 version, please install [angular2-moment](https://npmjs.org Installation ------------ -`npm install --save ngx-moment` +```bash +npm install --save moment ngx-moment +``` -If you use typescript 1.8, and [typings](https://github.com/typings/typings), you may also need to install typings for moment.js: +or if you use yarn: -`typings install --save moment` +```bash +yarn add moment ngx-moment +``` ### For System.js users: -First you need to install moment: - -`npm install moment --save` - Don't forget to update your systemjs.config.js: ```