qrcode-vue3 icon indicating copy to clipboard operation
qrcode-vue3 copied to clipboard

The requested module 'qrcode-vue3' does not provide an export named 'default'

Open DevDengChao opened this issue 2 years ago • 3 comments

It does not work when used in Nuxt3 app in production.

There is an example repository: https://github.com/DevDengChao/qrcode-vue3-nuxt3-build-and-preview-issue-example

build-and-preview

DevDengChao avatar Aug 14 '23 03:08 DevDengChao

@danielroe @pi0 @antfu Hi, do you have time to take a look on this issue? There is a qr code component works fine when running nuxt dev but failed when running nuxt build && nuxt preview.

DevDengChao avatar Aug 14 '23 03:08 DevDengChao

I managed fix this issue by using import QRCodeVue3 from "qrcode-vue3/src/QRCodeVue3.vue";

yhagus avatar Mar 12 '24 14:03 yhagus

Same problem here. Your solution works sometimes but not all the times

thomasruffier avatar Jun 21 '24 12:06 thomasruffier