quagga2-vue3

A Vue.js component (patched for vuejs 3), accessing the device camera and allowing users to read barcodes, within the browser
806 2
Install
npm install quagga2-vue3
Latest Version:1.0.1
Vue:3
License:MIT
Last Updated:Jul 24, 2024
Links: GitHub  ·  npm
Maintainer: nick0101

quagga2-vue3

Vue3 wrapper for ericblade/quagga2

⚙️ Usage

Add the dependency to your project:

npm i quagga2-vue3
# OR
yarn add quagga2-vue3
<script>
import { QuaggaScanner } from "vue3-quagga2";
</script>

<template>
  <QuaggaScanner
    :on-detected="(data) => console.log(data)"
    :reader-types="['ean_reader']"
  />
</template>

You can find an example usage in the /example folder. Check the component for available props

💡 Inspired by

quagga2/quaggaJS related projects:

License

The project is licensed under the "MIT license".

Related Packages

vue-quaggajs

A Vue.js component, accessing the device camera and allowing users to read barco...

13,880 52
vue-cc-quaggajs

A Vue.js component, accessing the device camera and allowing users to read barco...

1,609 0
vue-barcode-qrcode-scanner

A Vue 2 barcode/QR scanner based on https://github.com/olefirenko/vue-barcode-re...

5,241 2
vue

The progressive JavaScript framework for building modern web UI.

588,019,132 54,801
vue
@vueuse/shared
372,738,348 22,398

Version History

Version Released Vue License
1.0.1 ^3.4.31 MIT
1.0.0 ^3.4.31 MIT