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

[Vuetify] Multiple instances of Vue detected #73

Closed
rohsyl opened this issue Aug 30, 2018 · 7 comments
Closed

[Vuetify] Multiple instances of Vue detected #73

rohsyl opened this issue Aug 30, 2018 · 7 comments

Comments

@rohsyl
Copy link

rohsyl commented Aug 30, 2018

[Vuetify] Multiple instances of Vue detected
See vuetifyjs/vuetify#4068

You probably need to update the version of vuetify to the 1.2.1.

@ClickerMonkey
Copy link
Owner

Thanks, I'll do an update and check it out.

@ClickerMonkey
Copy link
Owner

I verified that this Library is not bundling Vue with it, so I don't think it has anything to do with it. I'm not sure how Vuetify verifies multiple instances of Vue, I would expect Vue to be the one to validate that.

If you find out any info that contradicts what I've found, please commit and I'll re-open!

@italomaia
Copy link

Using version 1.2.6 and also got this error. Weird thing is that it is caused by simply importing Vue in the file where I load vuetify (which is not my main file)

@naulacambra
Copy link
Contributor

Which version of Vue.js are you using?

@mtx-z
Copy link

mtx-z commented Oct 15, 2018

Same error. Using :

  • "dayspan-vuetify": "^0.3.2",
  • which use "vuetify": "^1.1.1" from package.json, I have 1.2.9 installed
  • vue 2.5.17

This appends in my main vue-app.js when I use
import Vuetify from 'vuetify';
Vue.use(Vuetify);

vuetifyjs/vuetify#4068

EDIT: fixed changing
import Vue from 'vue/dist/vue.js'; to
import Vue from 'vue';

@ryanmtaylor
Copy link

This solves my issue, but what if we need to use import Vue from 'vue/dist/vue.js'instead of the production build of Vue?

@nocke
Copy link

nocke commented Nov 19, 2018

While switching from

import Vue from 'vue/dist/vue.js';
to
import Vue from 'vue';

avoids the Multiple instances of Vue detected...
...it also means, getting the runtime-only build (aka: the one without-template-parsing build), which is bad, because vue-router depends on this... 😕

I think, I roughly identified the problem...

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

7 participants