nuxt3-qrcode
1.0.0 • Public • Published
A compoent that supports Nuxt3
This component is based on node-qrcode
npm install nuxt3-qrcode
<template>
<VueQRcode :value="url" :options="option"/>
</template>
<script setup>
import VueQRcode from 'nuxt3-qrcode'
const url = ref('www.xxxx.com');
const option = {}
</script>
props |
type |
required |
default |
value |
String |
true |
None |
options |
Object |
false |
OptionInterface |
property |
type |
range |
default |
version |
String |
|
|
errorCorrectionLevel |
String |
low, medium, quartile, high or L, M, Q, H. |
|
maskPattern |
Number |
(0-7) |
|
toSJISFunc |
Function |
|
|
margin |
Number |
|
4 |
scale |
Number |
|
4 |
small |
Boolean |
|
false |
width |
Number |
|
|
color |
Object |
ColorObject |
|
property |
type |
default |
dark |
String |
#000000 |
light |
String |
#FFFFFF |
/nuxt3-qrcode/
//
Package Sidebar
Install
Weekly Downloads