Skip to content

NetanelBasal/akita-ng-router-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published