Ionic - First steps - component? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Ionic - First steps - component?

The last days I‘ve started to create an app with the ionic framework. But I do not understand the function of a generated component? I thought i Can import a ionic component into my generated component file and bind it into my page. But I need to import the module.ts file from my generated component into my page. Well.. my component does not have a module.ts..? How can I Import it?

1st Feb 2019, 12:02 PM
Daniel
1 Réponse
0
Okay I know it now. Components needs to be declared first.
16th Mar 2019, 5:13 PM
Daniel