vue-cli-plugin-cordova icon indicating copy to clipboard operation
vue-cli-plugin-cordova copied to clipboard

Issue when adding plugin

Open navu93 opened this issue 5 years ago • 1 comments

  • system info: "@vue/cli-service": "~4.5.9", "vue": "^2.6.12",

  • issue reproduce steps: execute cmd: $ vue add cordova

  • result: image

Has anyone of you got an issue like this?

navu93 avatar Dec 11 '20 08:12 navu93

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

vncsmyrnk avatar Feb 08 '21 15:02 vncsmyrnk