Skip to content

Multi-format 1D/2D barcode image processing component in Vue 2+, based on zxing-js library.

License

Notifications You must be signed in to change notification settings

Intracto/vue-multi-format-barcode

Repository files navigation

MFB Scanner (vue-multi-format-barcode)

Multi-format 1D/2D barcode image processing component in Vue 2+, based on zxing-js library.

Demo

Demo: -

Install

yarn add vue-multi-format-barcode

How to

In main.js:

import Vue from 'vue'
import MultiFormatBarcode from 'vue-multi-format-barcode'

Vue.use(MultiFormatBarcode)

In App.vue:

<multi-format-barcode />

Props & Events

  <multi-format-barcode width="1280" heigth="720" @onDecode="getResult" />

FAQ

--

Development / Contribution

You'll need vue cli globally to debug the component.

npm install -g @vue/cli
npm install -g @vue/cli-service-global

Start a development server for the component

vue serve MultiFormatBarcode.vue

About

Multi-format 1D/2D barcode image processing component in Vue 2+, based on zxing-js library.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published