Angular 8 How to add multiple components on same page?

I am working on a project where I want to display components side by side
Left component is categories and right side is categories_details.

I have completed the tutorial Tour of The Heroes, and will rebuild the project for my needs.

2 Likes

Just use the selectors and place them inside containers.

<div class="class-that-handles-size-and-position">
    <categories></categories>
</div>
<div class="class-that-handles-size-and-position">
    <categories_details></categories_details>
</div>
1 Like

Awesome!!
Thanks!:grinning:

I’m glad I could help. Welcome to Angular. It’s weird.

Yes! It reminds me about VHDL-modular design.