Deviceready has not fired after 5 seconds - Vue and Cordova


No idea if anyone has ever experienced this issue before but I cannot get the deviceready event to fire with the VUE cli3.
I keep seeing this in the console:
deviceready has not fired after 5 seconds.

Here is my main.ts
import ‘babel-polyfill’;
import Vue from “vue”;
import App from “./App.vue”;
import Vuetify from “vuetify”;
import router from “./router”;
import { store } from “./store”;
import “./registerServiceWorker”;
import “vuetify/dist/vuetify.min.css”;
import “material-design-icons-iconfont/dist/material-design-icons.css”;

Vue.config.productionTip = false;

if (
) {

document.addEventListener("deviceready", onDeviceReady, false);
} else {
onDeviceReady(); //this is the browser
function onDeviceReady() {

new Vue({
render: h => h(App)


Thank you

Hello @bennyyo
can you please share the console error ??