Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when adding plugin #129

Open
vuthainam opened this issue Dec 11, 2020 · 1 comment
Open

Issue when adding plugin #129

vuthainam opened this issue Dec 11, 2020 · 1 comment

Comments

@vuthainam
Copy link

vuthainam commented Dec 11, 2020

  • 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?

@vncsmyrnk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants