Press "Enter" to skip to content

Bar Code Component-Based On JsBarcode for Vue.js

Vue Barcode component is used to create customizable barcodes using the JsBarcode library.

vue barcode command generator, easy image barcode generator, barcode generator github, serial bar code generator, vue 3 barcode generator library, print barcode in javascript

Disable Printing, Screenshot, Copy and Paste in HTML JavaScript | NoPrint.js
High-Quality QR Code Generator Library in TypeScript/JavaScript

How to make use of it:

Install & Download:

npm install vue@next jsbarcode @chenfengyuan/vue-barcode@next
<script src="/path/to/vue.js"></script><!-- Vue.js is required -->
<script src="/path/to/JsBarcode.all.js"></script><!-- JsBarcode is required -->
<script src="/path/to/vue-barcode.js"></script>

Usage:

import { createApp } from 'vue';
import VueBarcode from '@chenfengyuan/vue-barcode';

const app = createApp({});

app.component(VueBarcode.name, VueBarcode);
<vue-barcode  value="Hello, World!" :options="{ displayValue: false }"></vue-barcode>

Props

NameTypeDefaultOptionsDescription
valuestringThe value of the bar code.
optionsObjectCheck out the available optionsThe options for the bar code generator.
tagstring"canvas"canvas, img, svgThe tag of the bar code.

Flexible Barcode Generator, vue-barcode Plugin/Github


See Demo And Download

Official Website(fengyuanchen): Click Here

This superior jQuery/javascript plugin is developed by fengyuanchen. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.