angular/integration/cli-elements-universal/src/app/app.server.module.ts
George Kalpakas 177eab2260 ci: add integration test for Angular Elemens with SSR (#40559)
This commit adds an integration test that uses `@angular/elements` with
`@angular/platform-server` in order to highlight a current
incompatibility. The issue will be fixed in a subsequent commit.

PR Close #40559
2021-02-12 08:55:25 -08:00

18 lines
405 B
TypeScript

import { NgModule } from '@angular/core';
import { ServerModule } from '@angular/platform-server';
import { RouterModule } from '@angular/router';
import { AppModule } from './app.module';
import { AppComponent } from './app.component';
@NgModule({
bootstrap: [
AppComponent,
],
imports: [
AppModule,
RouterModule.forRoot([]),
ServerModule,
],
})
export class AppServerModule {}