NetanelBasal / akita-ng-router-store

Bindings to connect Angular router to Akita store

Home Page:https://netbasal.gitbook.io/akita/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bindings to connect Angular router to Akita store.

To get started, install the @datorama/akita-ng-router-store package and add to the app module the Akita’s devtools modules:

import { AkitaNgDevtools } from '@datorama/akita-ngdevtools';
import { AkitaNgRouterStoreModule } from '@datorama/akita-ng-router-store';
​
​@NgModule({
imports: [environment.production ? [] :
  [ AkitaNgDevtools.forRoot(), AkitaNgRouterStoreModule ]
})
export class AppModule {
}

Lazy Load Modules

To get the lazy modules routing params, please add the following option to your module:

  imports: [RouterModule.forRoot(routes, { paramsInheritanceStrategy: 'always' })],

About

Bindings to connect Angular router to Akita store

https://netbasal.gitbook.io/akita/

License:Apache License 2.0


Languages

Language:TypeScript 100.0%