What is equivalent to router.loadContent function in V6? I’m migrating from V1 to V6 and I can’t find equivalent way to load dynamic content. It’s not possible for me to predefine routes since there can be 1m+ potential combination so I need to be able to load them based on conditions.
Any pointers? I saw that there is a content option and I tried it with router.navigate, but that doesn’t work and I’m very confused with the documentation.
I tried the following and it didn’t work:
_this.navigationView.router.routes.push({
name: name,
url: url,
content: content
});
_this.navigationView.router.navigate({
name: name
});