How to configure deeplinks in AppModule.forRoot()?

I tried a basic static link and It Just Works!

If somebody wants to try just import DeepLinkConfig:

import { IonicApp, IonicModule, DeepLinkConfig } from 'ionic-angular';

And add deepLinkConfig after the normal Ionic config inside the imports array:

IonicModule.forRoot(App, {}, deepLinkConfig)

The next question now is now to add unique ids for data as a segment, like /users/123, so we can feed it to the navParams and load the right content for the page (if that is how it works).

This is exciting. Waiting for the docs to be finished! :thumbsup:

2 Likes