qrcode-vue3
qrcode-vue3 copied to clipboard
The requested module 'qrcode-vue3' does not provide an export named 'default'
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
@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.
I managed fix this issue by using
import QRCodeVue3 from "qrcode-vue3/src/QRCodeVue3.vue";
Same problem here. Your solution works sometimes but not all the times