We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use vue-qr-reader in Nuxt project
<template> <client-only> <vue-qr-reader @code-scanned="getQrContent" /> </client-only> </template> <script> import VueQrReader from 'vue-qr-reader/dist/lib/vue-qr-reader.umd.js' ...
I have an error: document is not defined
The text was updated successfully, but these errors were encountered:
I get the same error, did you solved this issue ?
Sorry, something went wrong.
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"
<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
No branches or pull requests
I use vue-qr-reader in Nuxt project
I have an error: document is not defined
The text was updated successfully, but these errors were encountered: