mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
177eab2260
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
19 lines
405 B
TypeScript
19 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 {}
|