mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
18 lines
405 B
TypeScript
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 {}
|