Vue 3 qr reader.
refactor for vue 3.
yarn add vue3-qr-reader
npm i --save vue3-qr-reader
import { createApp } from 'vue';
import App from './App.vue'
import QrReader from 'vue3-qr-reader';
const app = createApp(App);
app.use(QrReader);
app.mount('#app')
import { QrStream, QrCapture, QrDropzone } from 'vue3-qr-reader';
export default {
components: {
QrStream,
QrCapture,
QrDropzone
},
};
yarn
yarn serve
yarn build