mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-17 06:46:05 +01:00
19 lines
625 B
TypeScript
19 lines
625 B
TypeScript
import { NgModule } from '@angular/core'
|
|
import { ServerModule, ServerTransferStateModule } from '@angular/platform-server'
|
|
import { AppModule } from './app.module'
|
|
import { AppComponent } from './components/app.component'
|
|
|
|
@NgModule({
|
|
imports: [
|
|
// The AppServerModule should import your AppModule followed
|
|
// by the ServerModule from @angular/platform-server.
|
|
AppModule,
|
|
ServerModule,
|
|
ServerTransferStateModule,
|
|
],
|
|
// Since the bootstrapped component is not inherited from your
|
|
// imported AppModule, it needs to be repeated here.
|
|
bootstrap: [AppComponent],
|
|
})
|
|
export class AppServerModule {}
|