Create and Load Dynamic Page

Hello,

In v1.7.1, creating and navigating to a dynamically created page was extemely easy:

var html= ‘

blablabla

_mainView.router.load({ content: html, animatePages: isAnimated });

Now, how can I create and navigate as before in v5?
I couldn’t achieve doing it?
There is no “routes” structure in our document, how can we achieve it by old way?

Regards,

Forum changed my content as it contains HTML tags, here it is for “html” variable:

[div id=“mypage” class=“page” data-page=“mypage”]
[div class=“page-content”]
blablabla
[/div]
[/div]