docs: update transfer-http docs

Remove redundant section
This commit is contained in:
Alan Agius 2022-10-14 14:34:16 +02:00 committed by Alan Agius
parent 818b4d9256
commit 2edfc30f9a

View File

@ -26,22 +26,6 @@ import {TransferHttpCacheModule} from '@nguniversal/common';
export class AppBrowserModule() {}
```
You don't have to import anything extra in your AppServerModule.
```ts
import { NgModule } from '@angular/core';
import { ServerModule } from '@angular/platform-server';
import { AppModule } from './app.module';
import { AppComponent } from './app.component';
@NgModule({
imports: [AppModule, ServerModule],
bootstrap: [AppComponent],
})
export class AppServerModule {}
```
Finally, in `main.ts` change this:
```ts