quagga2-vue3
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i quagga2-vue3

Weekly Downloads

20

Version

1.0.1

License

MIT

Unpacked Size

9.71 kB

Total Files

9

Last publish

Collaborators

  • nick0101