still dont know
This commit is contained in:
parent
073893b677
commit
00c112a119
9 changed files with 98 additions and 5 deletions
|
@ -2,14 +2,15 @@ import { Component } from '@angular/core';
|
|||
import {Child1Component} from "./child-1/child-1.component";
|
||||
import {Child2Component} from "./child-2/child-2.component";
|
||||
import {ParentComponent} from "./parent/parent.component";
|
||||
import {HotelsComponent} from "./hotel/hotels.component";
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
standalone: true,
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.css',
|
||||
imports: [Child1Component, Child2Component, ParentComponent],
|
||||
imports: [Child1Component, Child2Component, ParentComponent, HotelsComponent],
|
||||
template: `
|
||||
<app-hotels></app-hotels>
|
||||
`
|
||||
})
|
||||
export class AppComponent {
|
||||
public title: string = 'hotel-manager';
|
||||
}
|
||||
|
|
Reference in a new issue