A lightweight Angular library that remembers the last page a user visited when they leave an Angular application and them routes them to it when the re-open it.
ng add ngx-pagememory
Import the NgxPagememoryModule
into your AppModule
. You can configure it as shown below:
import { NgxPagememoryModule } from 'ngx-pagememory';
@NgModule({
declarations: [AppComponent],
imports: [
NgxPagememoryModule.forRoot()
],
bootstrap: [AppComponent]
})
export class AppModule {
}
Thanks goes to these wonderful people (emoji key):
Daniel Kreider 💻 |
This project follows the all-contributors specification.
Contributions of any kind welcome!