How to use UpgradeAdapter to migrate applications to v2?


There is a guide on how to prepare the application to be migrated to v2, which is great, but how do we actually perform the migration once the application is prepared?

More specifically, how do we bootstrap using UpgradeAdapter?

I know how to do that in pure Angular, however Ionic applications are different, and are started with initializeApp(), not boostrap.

So how do we do it?


I spent a couple of hours on Friday trying to figure out how to use an Angular1 component inside my Ionic 2 app before I realized that Ionic does bootstrapping differently.

Would’ve been helpful to figure that out before I wasted the effort!