Skip to content

VueQrcode

🤳 A Vue component for QR code generation with qrcode

TOC

Demo

Usage

vue
<template>
  <vue-qrcode value="https://www.1stg.me" />
</template>
<script>
import VueQrcode from 'vue-qrcode'

export default {
  components: {
    VueQrcode,
  },
}
</script>

Available Props

proptype (range)default value
versionnumber (1-40)N/A
errorCorrectionLevelString ('low', 'medium', 'quartile', 'high', 'L', 'M', 'Q', 'H')'M'
maskPatternnumber (0-7)N/A
toSJISFuncFunctionN/A
marginnumber4
scalenumber4
widthnumberN/A
color{ dark: string; light:string }{ dark: '#000000ff', light: '#ffffffff' }
typestring ('image/png', 'image/jpeg', 'image/webp')'image/png'
qualitynumber(0-1)0.92
valuestring |Array<{ data: string; mode?: string }>N/A

Available Events

eventtype
changedataUrl: string

Sponsors

1stGRxTSUnTS
1stG Open Collective backers and sponsorsRxTS Open Collective backers and sponsorsUnTS Open Collective backers and sponsors

Backers

Backers

1stGRxTSUnTS
1stG Open Collective backers and sponsorsRxTS Open Collective backers and sponsorsUnTS Open Collective backers and sponsors

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © JounQin@1stG.me