1.0.1 • Published 12 months ago

quagga2-vue3 v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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".

1.0.1

12 months ago

1.0.0

12 months ago