0.1.3 • Published 5 years ago

vue-multi-format-barcode v0.1.3

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

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
0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago