joaoeudes7/V-Emoji-Picker

vue-router.esm.js?8c4f:2079 TypeError: window.Vue.use is not a function

vanwhebin opened this issue · 6 comments

It seems not compatible with vuejs 2.6

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Opera & Firefox
  • Version [e.g. 22]

Additional context
Vuejs: 2.6.10

The problem is not in version, I have already tested with version 2.5 and it works.
How are you importing? Globally or locally?

The problem is not in version, I have already tested with version 2.5 and it works.
How are you importing? Globally or locally?

Thanks for your quick reply.
I imported it in my custom component locally.
It works smoothly sometimes while sometimes not.
for example, I refreshed the page several times then this issue vanished.

at present, i removed the emoji part, everything works well.

Did you use the plugin before the upgrade? I changed some props, in the readme shows the modifications, and you can see the usage example in this new version here: https://codesandbox.io/s/vue-example-emoji-picker-2-746pq

Yes, i checked your example and used it in my project, however, error raised.
image

i changed the vuejs version in codepen example which runs as expected.
image

but in my project, it does not. :/
image

Try change version to 2.0.3 pls

Thanks for your work!