Initial page/view loading - bug or feature?

Hi there,
I encountered the following issue and I dont know that to make of it. I have a Framework7 based start page - index.html. It has and empty view zone like this

<div class="view view-main view-init safe-areas">
  <div class="page" data-name="home">
 </div>
</div>

In router I have this

 path: '/index.html',
 url: './pages/dashboard.html',

So when I type index.html into the browser I get index.html file and then the router automatically loads the dashboard.html. Everything works fine… on desktop. On mobile devices the index.html is loaded alright but the router is not getting triggered so I end up with empty screen i.e only index.html. I debugged it with a Chrome and the console was clean.

So is initial page loading a bug or feature? I can of course move the content of dashboard file into the index.html but I would rather avoid it.

Thanks

Are you using pushState? It should be disabled in cordova apps.

You view must have initial URL, e.g. <div class="view view-main view-init safe-areas" data-url="index.html">

And index.html is really bad value for path. It should be / or /home/ or anything else not related to filename

Thanx. It was disabled, but in general Cordova works with enabled pushState for me.