#componente dont be display
6 messages · Page 1 of 1 (latest)
By index file, you mean the index.html?
yes
That's not how angular works.
There is only the app root there as the root content.
You need to use it to display content, use app test in app.component.html
Ah, thank you very much. Now I have a question about understanding. Unlike in the app.component.html file, can't it be done that way? So, do all templates have to go through it, or how is that to be understood?"
The best answer go through the official tutorial, it'll provide you with basic understanding about how to display components in multiple different ways: https://angular.io/tutorial/tour-of-heroes