1.0.0 • Published 12 months ago

nuxt3-qrcode v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

nuxt3-qrcode

A compoent that supports Nuxt3

This component is based on node-qrcode

Installation

npm install nuxt3-qrcode

Usage

<template>
    <VueQRcode :value="url" :options="option"/>
</template>

<script setup>
import VueQRcode from 'nuxt3-qrcode'

    const url = ref('www.xxxx.com');

    const option = {}
</script>

Available Props

propstyperequireddefault
valueStringtrueNone
optionsObjectfalseOptionInterface

OptionInterface

propertytyperangedefault
versionString
errorCorrectionLevelStringlow, medium, quartile, high or L, M, Q, H.
maskPatternNumber(0-7)
toSJISFuncFunction
marginNumber4
scaleNumber4
smallBooleanfalse
widthNumber
colorObjectColorObject

ColorObject

propertytypedefault
darkString#000000
lightString#FFFFFF
1.0.0

12 months ago