Cordova (iOS ) build success, but index page router error

I have build a Cordova project, everything is ok, but then default matched router.

when open the file:///path/to/cordova/www/index.html page on browser, the first matched router is ‘404’ instead of ‘/’. There is a solution:

change the path the 'file:///path/to/cordova/www/index.html#!/'

But I notice the framework7-cli create project can match the / router by default.

I have no idea about the problem. Thanks any help.

Don’t use push state in cordova app

Thanks @nolimits4web.