delowardev / vue3-emoji-picker

Simple and Powerful Emoji Picker for Vue3
https://codesandbox.io/p/github/delowardev/vue3-emoji-picker/main?file=%2FREADME.md
MIT License
171 stars 34 forks source link

Cannot run properly component #45

Closed elderNinja closed 1 year ago

elderNinja commented 1 year ago

[Vue warn]: provide() can only be used inside setup() [Vue warn]: resolveComponent can only be used in render() or setup().

delowardev commented 1 year ago

Hi @elderNinja, could you please share your project environment/details? Such as:

Thanks

elderNinja commented 1 year ago

Hello) My package.json

  1. "dependencies": {

    "vue": "^3.2.40", "vue3-emoji-picker": "^1.1.7", }, "vite": "^3.1.4"

  2. My code which doesn't work.

`

` ------- WIth vue-cli it works properly. As you can see. 1. https://codesandbox.io/s/green-microservice-bgvv5w?file=/src/components/HelloWorld.vue But i use vite Thanks for the response)
delowardev commented 1 year ago

I'm unsure how to replicate this issue, here it's working with vite: https://codesandbox.io/p/github/delowardev/vue3-emoji-picker-example/main

zhnoah commented 1 year ago

not work in latest vue +1

elderNinja commented 1 year ago

I solved my issue Just removed yarn.lock and node_modules and reinstalled again)

goforu commented 1 year ago

+1 any update?

goforu commented 1 year ago

I solved my issue Just removed yarn.lock and node_modules and reinstalled again)

not working for me

cloudsolace commented 1 year ago

Please check the @vitejs/plugin-vue version. I was using 2.3.1 and upgrading to latest version fixed the issue