Skip to content

Instantly share code, notes, and snippets.

@DuncanFaulkner
Created Apr 5, 2021
Embed
What would you like to do?
ssr
import { NgModule } from '@angular/core';
import {
ServerModule,
ServerTransferStateModule // HERE
} from '@angular/platform-server';
import { AppModule } from './app.module';
import { AppComponent } from './app.component';
@NgModule({
imports: [
AppModule,
ServerModule,
ServerTransferStateModule, // AND HERE
],
bootstrap: [AppComponent]
})
export class AppServerModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment