I have seen this question already and I use the following code:
---
myApp.init();
console.log("Framework7 app initialized");
myApp.mainView.loadPage({url: "./login.html", animatePages: false});
navigator.splashscreen.hide();
---
But I still see the main page for a moment.
What is wrong ?