Tuto-Angular/angular-tour-of-heroes/src/app/app.component.ts

14 lines
369 B
TypeScript

import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { HeroesComponent } from './heroes/heroes.component';
@Component({
selector: 'app-root',
imports: [RouterOutlet, HeroesComponent],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
export class AppComponent {
title = 'Tour of Heroes';
}