@dobbel Yes, I even added it to the window scope.
Problem more likely the priority of loading the plugin.
When the quasar start, it tend to loaded the vuex store before cordova plugin did, hence it will get undefined in state.js .
It is not recommended to develop projects this way. But here is a solution I used to import files that I downloaded locally into the project.
I put in my statics folder my js files, and imported it into template.html
this way the webpack can solve the “statics” directory for me automatically