vue-multi-format-barcode
v0.1.3
Published
Multi-format 1D/2D barcode image processing component in Vue 2+, based on zxing-js library.
Downloads
14
Readme
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