What’s the execution order on Ionic?

Asked

Viewed 31 times

-1

I’m a beginner in Ionic and I’m a bit lost. I don’t know exactly where and how to add components, and how to make them usable. I’ve thought of adding a component and it doesn’t even appear on the screen. Maybe if I understood how structures work I could add them without problems.

1 answer

1


Well if Voce is talking about a component created by Voce (outside of the app.Component), each component that Voce creates has a name, in the case of this component created it is called app-example. Inside the component I want to call it (regardless of what it is) I need to tag it with its name

nome da aplicacao example

Remember to always check that Voce has it declared within its module that the component is part of (in my case in the app.module) Ngmodule({ declarations: [ Appcomponent, Examplecomponent ], Imports: [ Browsermodule ], providers: [], bootstrap: [Appcomponent] }) export class Appmodule { }

I hope I’ve helped!

  • remembering that the tag of this component will be <app-example> </app-example>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.