@angular/platform-server#ServerTransferStateModule TypeScript Examples
The following examples show how to use
@angular/platform-server#ServerTransferStateModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: app.server.module.ts From ng-conf-2020-workshop with MIT License | 6 votes |
@NgModule({
imports: [
AppModule,
ServerModule,
ServerTransferStateModule
],
bootstrap: [AppComponent],
})
export class AppServerModule {}
Example #2
Source File: app.server.module.ts From nestjs-angular-starter with MIT License | 6 votes |
@NgModule({
imports: [AppModule, ServerModule, NoopAnimationsModule, ServerTransferStateModule],
providers: [
// Add server-only providers here.
{
provide: HTTP_INTERCEPTORS,
useClass: UniversalRelativeInterceptor,
multi: true,
},
],
bootstrap: [AppComponent],
})
export class AppServerModule {}
Example #3
Source File: app.server.module.ts From geonetwork-ui with GNU General Public License v2.0 | 5 votes |
@NgModule({
imports: [AppModule, ServerModule, ServerTransferStateModule],
bootstrap: [AppComponent],
})
export class AppServerModule {}