Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DevDengChao opened this issue Aug 14, 2023 · 3 comments

Comments

@DevDengChao
Copy link

DevDengChao commented Aug 14, 2023

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
Copy link
Author

@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.

@yhagus
Copy link

yhagus commented Mar 12, 2024

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

@thomasruffier
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants