Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Equivalent of IonicPageModule.forChild() in Ionic 4

$
0
0

@vitonimal wrote:

Hello! I am migrating from Ionic 3 to Ionic 4 and I plan on using the angular router. The general process was pretty straight forward for the most part, but I did encounter some issues.

I know that IonicPageModule has been deprecated and that we are now supposed to use IonicModule. However, IonicModule does not have a forChild() function, so I am wondering how I can translate an ionic 3 code stating:
IonicPageModule.forChild(Component)

Can I just delete these statements and perform a workaround with the angular router?

Thanks!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>