{"repo":"Binaryify/vue-qr","free":true,"listed":false,"github":"https://github.com/Binaryify/vue-qr","clone":"git clone https://github.com/Binaryify/vue-qr.git","description":"The Vue Component for Awesome-qr.js","language":"JavaScript","stars":875,"topics":["vue","vue-qr","qr","vite","vue3","vue2","vue-component"],"license":"MIT","category":"ui-components","readme_excerpt":"vue-qr The Vue 3 Component for SumiMakito's Awesome-qr.js. The only one qr code component for Vue.js you need! Notice - v5.x 仅支持 Vue 3 - Vue 2 用户请使用 v4.x: npm install vue-qr@4 - 不支持 IE 浏览器 Examples Try to scan these QR codes below with your smart phone. Example 1 Example 2 Example 3 Example 4 ------------ ------------- ------------- ------------- Demo Installation Usage Global Registration Local Registration Event Handling Props Parameter Type Default Explanation ---- ---- ---- ---- text String (required) Contents to encode correctLevel Number 1 Correct Level 0-3 size Number 200 Width and height of the output QR code, includes margin margin Number 20 Margin around the QR code colorDark String '#000000' Color of data blocks colorLight String '#FFFFFF' Color of empty space components Object - Controls appearances of parts. See ComponentOptions bgSrc String - Background image URL gifBgSrc String - GIF background URL (overrides bgSrc) backgroundColor String '#FFFFFF' Background color backgroundDimming String 'rgba(0,0,0,0)' Color mask above background image logoSrc String - Logo URL at center logoScale Number 0.2 Logo size = logoScale (size - 2 margin) logoMargin Number 0 White margin around logo logoBackgroundColor String 'rgba(255,255,255,1)' Logo background color logoCornerRadius Number 8 Logo corner radius whiteMargin Boolean true White border around background image dotScale Number 1 Data dots scale (0 < scale ≤ 1) autoColor Boolean true Use dominant color of background as c","default_branch":null,"files":null,"tree":[],"storefront":"/r/Binaryify","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Binaryify/vue-qr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}