serebrov / emoji-mart-vue-test

Standalone demo application for [emoji-mart-vue-fast](https://github.com/serebrov/emoji-mart-vue) component.
0 stars 0 forks source link

Whether to consider Vite2 compatibility #15

Open KFCVme50-CrazyThursday opened 2 years ago

KFCVme50-CrazyThursday commented 2 years ago

hi, my friends, you create this plugin is so great ! but now, I meet a problem ,when i use it in vue3 where is exercise in Vite2, this Import Mode "import { Picker, EmojiIndex } from 'emoji-mart-vue-fast/src'" is seem a problem, It seems vite2 will think "emoji-mart-vue-fast/src" is a location file, is not a node package.

KFCVme50-CrazyThursday commented 2 years ago

anchors.vue:28 Uncaught (in promise) SyntaxError: The requested module '/node_modules/emoji-mart-vue-fast/src/svgs/index.js' does not provide an export named 'default'