Vue-QRCode
A Vue.js component for QR code generation. Free for everyone, even use it for commercial purposes and on unlimited applications.
Table of contents
- Browser Support
- Demo
- Getting started
- Usage
- Available Props
- Want to Contribute?
- Need Help / Support?
- Online Demo
- Changelog
- Credits
- License
- Keywords
Browser Support
83.0 ✔ | 77.0 ✔ | 13.1.1 ✔ | 83.0 ✔ | 11.9 ✔ |
Demo
Getting started
Install the npm package:
npm install vue-weblineindia-qrcode#ORyarn add vue-weblineindia-qrcode
Usage
Use the <vue-weblineindia-qrcode
> component:
<template> <Vue-qr-code value="https://www.weblineindia.com/" /></template> <script>// import vue-weblineindia-qrcodeimport VueQrCode from 'vue-weblineindia-qrcode' export default { components: { VueQrCode, },}</script>
Available Props
prop | type (range) | default value |
---|---|---|
version |
number (1-40) |
N/A |
errorCorrectionLevel |
String ('low', 'medium', 'quartile', 'high', 'L', 'M', 'Q', 'H') |
'M' |
maskPattern |
number (0-7) |
N/A |
toSJISFunc |
Function |
N/A |
margin |
number |
4 |
scale |
number |
4 |
width |
number |
N/A |
color |
{ dark: string; light:string } |
{ dark: '#000000ff', light: '#ffffffff' } |
type |
string ('image/png', 'image/jpeg', 'image/webp') |
'image/png' |
quality |
number (0-1) |
0.92 |
value |
string | Array<{ data: string; mode?: string }> |
N/A |
Want to Contribute?
- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).
- Fork it.
- Create new branch to contribute your changes.
- Commit all your changes to your branch.
- Submit a pull request.
Need Help?
We also provide a free, basic support for all users who want to use this VueJS QRCode generator in their software project. In case you want to customize this QRCode generator to suit your development needs, then feel free to contact our VueJS developers.
Online Demo of VueJS QRCode Generator
We have also hosted this code on our website for a quick DEMO. Please click here for the demo of VueJS QRCode Generator online.
Changelog
Detailed changes for each release are documented in CHANGELOG.md.
Credits
vue-weblineindia-qrcode is inspired by the vue-qrcode.
License
Keywords
vue-weblineindia-qrcode, vue-qrcode, qrcode, qrcodegen, vue