-
-
Save DuncanFaulkner/c2b96722b4bdea3df9f8977e78f96704 to your computer and use it in GitHub Desktop.
ssr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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