Skip to content
プロジェクト

概要

Bar code component for Vue.js

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

vue-barcode

Coverage Status Downloads Version Gzip Size

Bar code component for Vue 3, bases on JsBarcode. For Vue 2, check out the v1 branch.

Main npm package files

dist/
├── vue-barcode.js         (UMD, default)
├── vue-barcode.min.js     (UMD, compressed)
├── vue-barcode.esm.js     (ECMAScript Module)
├── vue-barcode.esm.min.js (ECMAScript Module, compressed)
└── vue-barcode.d.ts       (TypeScript Declaration File)

Getting started

Installation

Using npm:

npm install jsbarcode@3 @chenfengyuan/vue-barcode@2

Using pnpm:

pnpm add jsbarcode@3 @chenfengyuan/vue-barcode@2

Using Yarn:

yarn add jsbarcode@3 @chenfengyuan/vue-barcode@2

Using CDN:

<script src="https://unpkg.com/vue@3"></script><!-- Vue.js is required -->
<script src="https://unpkg.com/jsbarcode@3/dist/JsBarcode.all.min.js"></script><!-- JsBarcode is required -->
<script src="https://unpkg.com/@chenfengyuan/vue-barcode@2"></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>

Browser support

Same as Vue 3.

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT © Chen Fengyuan

関連プロジェクトを探す

読み込み中…