mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cb8a741f14
Changes to SSR doc PR Close #52398
14 lines
338 B
TypeScript
14 lines
338 B
TypeScript
// Old AppComponent, before refactoring
|
|
import { Component } from '@angular/core';
|
|
import { RouterLink, RouterOutlet } from '@angular/router';
|
|
|
|
@Component({
|
|
standalone: true,
|
|
selector: 'app-root',
|
|
template: '... the template ...',
|
|
imports: [ RouterLink, RouterOutlet ]
|
|
})
|
|
export class AppComponent {
|
|
title = 'Tour of Heroes';
|
|
}
|