Blank page when I add cordova.js

I want to test my code on device.

I have this weird problem/bug whereby if I add cordova.js in my html file, the app just shows a blank white screen.

No errors emitted by inspecting in the Chrome DevTools except these:

Viewport argument key "minimal-ui" not recognized and ignored. index.html:1
Viewport argument key "viewport-fit" not recognized and ignored. 

Removing cordova.js and rebuilding again the app shows the views just fine, but the cordova environment is lost.

I am using the official F7 v2+Vue v2 template here https://github.com/framework7io/framework7-template-vue-webpack

Hi
do we need to copy cordova.js file in www folder?