vue-cli-plugin-cordova
vue-cli-plugin-cordova copied to clipboard
Issue when adding plugin
-
system info: "@vue/cli-service": "~4.5.9", "vue": "^2.6.12",
-
issue reproduce steps: execute cmd: $ vue add cordova
-
result:

Has anyone of you got an issue like this?
Hey!
I just had the same problem here. I solved by adding the following on the vue.config.js file:
pluginOptions: {
cordovaPath: 'src-cordova'
}
Example file with addition:
module.exports = {
publicPath: '',
pluginOptions: {
cordovaPath: 'src-cordova'
}
}
I got this by reading this topic: https://stackoverflow.com/questions/61537600/default-install-of-vue-cli-plugin-cordova-will-not-run-on-ios-simulator