mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 12:34:32 +08:00
This commit revises the app-shell and ssr schematics to incorporate the new Server Rendering API, along with the integration of server-side routes. BREAKING CHANGE: The app-shell schematic is no longer compatible with Webpack-based builders.
15 lines
318 B
Plaintext
15 lines
318 B
Plaintext
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 {}
|