Merge pull request #395 from jpush/dev

update readme
This commit is contained in:
HuminiOS 2019-02-24 22:26:35 +08:00 committed by GitHub
commit 2adbba2943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,11 @@ npm install --save @jiguang-ionic/jpush
然后在 *app.module.ts* 中增加:
```js
// @jiguang-ionic/jpush@1.0.0+
import { JPush } from '@jiguang-ionic/jpush';
// @jiguang-ionic/jpush@2.0.0+
import { JPush } from '@jiguang-ionic/jpush/ngx';
...
providers: [
...