scully-interceptor
v0.0.8
Published
A Scully interceptor for storing GET api responses in the transferState
Readme
ScullyInterceptor
Import this Angular Module to automatically intercept all GET HTTP calls and get /set the response in Scully's transferState.
This module requires Scully installed for Static Site Generating.
Installing
npm install scully-interceptor --saveImport module
All you need to do is import the module and transferState is dealt with.
import { ScullyInterceptModule } from 'scully-interceptor';
@NgModule({
...
imports: [
...
ScullyInterceptModule
]
})
export class AppModule { }