vue-qrcode-reader
vue-qrcode-reader copied to clipboard
export 'default' (imported as 'VueQrcodeReader') was not found in 'vue-qrcode-reader'
Describe the bug
Can't use VueQrcodeReader component. Have a bug in console which says
"export 'default' (imported as 'VueQrcodeReader') was not found in 'vue-qrcode-reader'
To Reproduce
- install library
- import it
- note the issue
Screenshots
Desktop (please complete the following information): I think that the issue here because of my project setup:
- ruby 2.6.3
- postgres 9.6
- redis
- node 13.8.0
- vue 2.6.10
To solve
Found that you can add "sourceType": "unambiguous"
to your babel.config.js
file to fix this issue
Link: https://github.com/AnomalyInnovations/serverless-bundle/issues/32