vue3-qr-reader

    1.0.0 • Public • Published

    vue3-qr-reader

    Vue 3 qr reader.

    Credit to: vue-qrcode-reader

    refactor for vue 3.

    Demo

    Demo

    Demo Code

    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
    

    Customize configuration

    See Configuration Reference.

    Install

    npm i vue3-qr-reader

    DownloadsWeekly Downloads

    737

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.07 MB

    Total Files

    7

    Last publish

    Collaborators

    • hj0329