Open radislaw opened 4 years ago
I get the same error, did you solved this issue ?
export default {
components: {
'vue-qr-reader': () => process.browser ? import('vue-qr-reader/dist/lib/vue-qr-reader.umd.js') : null
}
...
}
<ClientOnly> <qrcode-stream @init="onInit()" @decode="onDecode()"></qrcode-stream> </ClientOnly>
import qrcode from "vue3-qrcode-reader"
I get the same error how can I solve it
I use vue-qr-reader in Nuxt project
I have an error: document is not defined