Answer the question
In order to leave comments, you need to log in
How to output multiple child components in one parent Angular?
Good afternoon!
I need to display several child components in one component.
Those.
import { Component } from '@angular/core';
@Component({
selector: 'memanager',
templateUrl: './melist/melist.component.html ', → and some more
})
export class MemanagerComponent {}
Who knows how to implement this? THANKS in advance to those who respond
Answer the question
In order to leave comments, you need to log in
In the container template (/melist/melist.component.html) and output like this:
<main>
<section>
<child-component></child-component>
</section>
<another-child-component></another-child-component>
</main>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question