Using Custom Components on Multiple Pages in Ionic

preview_player
Показать описание
In this tutorial, we take a look at some common pitfalls when using custom components and how you can use custom components across multiple pages when using lazy loading in an Ionic/Angular application.

#ionic #angular #components

Рекомендации по теме
Комментарии
Автор

Just another Thank You message among the above millions. I am teaching ionic 4 to some interns and your videos give them clarity. I just love the way you first take a normal approach, and then when the error pops up, like it does for us, you show the actual way things need to be coded. Excellent Effort. Hope Ionic Team hires you :P

nirliptgaur
Автор

Thanks. The main fix for me was the explanation about the lazy loading not loading components. That made my day. Thank you!

denisgarcia
Автор

You just saved me a lot of time that would have been wasted! Thanks man, speaking of Ionic you sure are the best!

gianlucacau
Автор

Thank God I found you at the right time. I was banging my head figuring out what was wrong with my component and you litterally saved me from a nightmare.

muhammadshahrez
Автор

I was going around in circles, reading and re-reading documentation & examples (mostly of non-lazy loaded components) No i not only know what to do, but _why_ This was a life saver!

simonsutherland
Автор

Nice tutorial thanks!

In Ionic 4 you should add some extra imports to avoid template parse errors.

import { SyncIconComponent } from


@NgModule({
imports: [CommonModule, IonicModule], Add this
declarations: [SyncIconComponent],
exports: [SyncIconComponent]
})
export class ComponentsModule {}

sergijonama
Автор

You saved my life, I had to also add other modules, like ionicModule, RoutingMoudle to the shared module

tendaikatsande
Автор

Thank you, you really saved my day with this... I am so glad that i found this at the right now.

olumideayeni
Автор

Nice one, I was convinced I was never going to use shared components in ionic until this. Thanks

muzz
Автор

Man, you're just awesome. I've spent a lot of time trying to figure out how normal angular components should work for ionic 4 and you've just lit my way. Thanks a lot!!

MurilloVieira
Автор

Thanks man, you saved me from a mental breakdown!

doronsayar
Автор

Great video - taking one through the failure process was key to me learning, excellent job!

shaunbrassell
Автор

This was what exactly I wanted. Thankyou very much!!

crassProgrammer
Автор

I will take off my hat in front of your tutorials. Best of the best.

izzatullokanoatov
Автор

Hey still useful, I've been trying to get into it and this clear my head around the subject, ty

Garciia
Автор

Great, helped me a lot! Thanks Joshua!

zhoobinjalili
Автор

Grat tutorial.
Another thing in cosideration is that the ionic cli has a more easy way to crete a shared module. You just hast to run the command
ionic g module shared (or wharever name you want)
and it will create the module with the necesary structure you need

Iam_AndersonP
Автор

That was really a great explanation you have helped me a lot bro 🙌🙌
Hope you continue doing lectures like these 🥺

sathvikakopalli
Автор

you just made my day, thanks for the awesome explanation

kyatar
Автор

Amazing!! thank you for the detailed explanation!!

yorlandIII