angular/integration/cli-elements-universal/src/app/title.component.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

9 lines
210 B
TypeScript

import { Component, Input } from '@angular/core';
@Component({
selector: 'app-title',
template: '<h1>{{ appName }} app is running!</h1>',
})
export class TitleComponent {
@Input() appName = 'Unknown';
}