#componente dont be display

6 messages · Page 1 of 1 (latest)

wet island
#

i make with ng g c test and will in the index file with <app-test></app-test> use. but no error and the side is empty.

opal stream
wet island
#

yes

opal stream
#

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

wet island
#

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?"

opal stream