vue3-qr-reader
v1.0.0
Published
Vue 3 QR reader.
Downloads
4,645
Readme
vue3-qr-reader
Vue 3 qr reader.
Credit to: vue-qrcode-reader
refactor for vue 3.
Demo
Install
yarn add vue3-qr-reader
npm i --save vue3-qr-reader
Register Global Component
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')
Register Local Component
import { QrStream, QrCapture, QrDropzone } from 'vue3-qr-reader';
export default {
components: {
QrStream,
QrCapture,
QrDropzone
},
};
Project setup
yarn
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build