Ionic3 and custom components

Hey there,

I’m currently trying to migrate my Ionic2 application to Ionic3, because I would like to make use of the lazy loading feature - because I really need this feature for the web version of the app…

…but all of my custom components doesn’t work anymore - could someone provide an example of a lazy loading page and a custom component?

Thanks,
Oliver

Have a look here and here for more info.

I will try this - thanks a lot!

@…also! Thanks a lot as well!

Beware that your app binary might grow substantially, as you will get separate duplicated copies of your component code for each lazy page that includes it.

1 Like

So, what is the better way to do?
Thanks!