I am working a project well set from the CLI and yeah, all is good. I have a quite number of cordova plugins I am using which are not accessible from the
window.plugins global object, and I can only access them via the usual
cordova.plugins. However, my vue app won’t work on
npm start in the browser, it constantly throws the annoying
cordova is not defined error in the console. I fully understand this but I mean the plugins are many and I can’t build every two seconds. I would love to work as I see how routing, and appearances will work from my browser. I understand if these plugins can’t work from there but is there a recommended way to write my plugin code and still get my app to show in the browser? Or is there a way I can add plugins to the
How do you go about this?
I added abrowser platform but I have to build a production bundle every now and again. It is time consuming.