tui-vue-qrcode
v0.0.2
Published
a vue qrcode component dependence on qrious
Downloads
16
Readme
tui-vue-qrcode
a vue qrcode component dependence on qrious
Install
npm i tui-vue-qrcode
Usage
import qrcode from 'tui-vue-qrcode'
Vue.component('qrcode', qrcode)
<template>
<qrcode v-model="code"></qrcode>
</template>
<script>
export default {
data() {
return {
code: 12345678,
}
},
}
</script>
Props
|Name|Desc|Type|Default| |---|---|---|---| |value|qrcode text|string/number|-| |type|img or canvas|string|canvas| |options|qrcode options|object|-|
Options
dependence qrious