Skip to content

Commit

Permalink
feat(ng): support angular 9
Browse files Browse the repository at this point in the history
* drop support for angular 7
  • Loading branch information
marcjulian committed Jan 16, 2020
1 parent de5c2f9 commit ba3dc13
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

Router Plugin for Ionic 4 and NGXS 3.3.4 or higher.

| Angular | @ngxs/store | ionic | @fivethree/@fivethree/ngxs-ionic-router-plugin |
| ------- | ----------- | ------ | ---------------------------------------------- |
| 8/9 | 3.6.x+ | 4.x.x+ | 0.2.x+ |
| 7 | 3.3.4+ | 4.x.x+ | 0.1.0 |

## 📦 Installation

```console
Expand All @@ -15,6 +20,7 @@ yarn add @fivethree/ngxs-ionic-router-plugin
```

## 🔨 Usage

Import the module into your root application module:

```typescript
Expand All @@ -23,10 +29,7 @@ import { NgxsModule } from '@ngxs/store';
import { NgxsIonicRouterPluginModule } from '@fivethree/ngxs-ionic-router-plugin';

@NgModule({
imports: [
NgxsModule.forRoot(states),
NgxsIonicRouterPluginModule.forRoot()
]
imports: [NgxsModule.forRoot(states), NgxsIonicRouterPluginModule.forRoot()]
})
export class AppModule {}
```
Expand All @@ -42,5 +45,3 @@ Now the route will be reflected in your store under the `ionicRouter` state name
`new NavigateBackward(path: string | UrlTree | any[], options?: NavigationOptions)`

`new NavigateBack(options?: AnimationOptions)`


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fivethree/ngxs-ionic-router-plugin",
"version": "0.1.0",
"version": "0.2.0",
"author": "Marc Stammerjohann",
"description": "NGXS Ionic Router Plugin",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fivethree/ngxs-ionic-router-plugin",
"version": "0.1.0",
"version": "0.2.0",
"description": "NGXS Ionic Router Plugin",
"keywords": [
"fivethree",
Expand All @@ -20,8 +20,8 @@
"url": "https://github.com/fivethree-team/ngxs-ionic-router-plugin/issues"
},
"peerDependencies": {
"@angular/core": ">=7.2.1 <9.0.0",
"@angular/core": ">=8.0.0 <10.0.0",
"@ionic/angular": "^4.0.0",
"@ngxs/store": ">=3.3.4"
"@ngxs/store": ">=3.6.0"
}
}

0 comments on commit ba3dc13

Please sign in to comment.