theomessin / vue-qriously Goto Github PK
View Code? Open in Web Editor NEW🤔 A Vue component to draw QR codes using Qrious.
Home Page: http://jsfiddle.net/2tjtcsqe/1/
License: MIT License
🤔 A Vue component to draw QR codes using Qrious.
Home Page: http://jsfiddle.net/2tjtcsqe/1/
License: MIT License
after me install vue-qriously by npm
i use it like this:
import VueQriously from 'vue-qriously'
Vue.use(VueQriously)
the version is [email protected]
i think u can create type let user select img and anvas.
Trying to run npm run build
yields:
🚨 (vue plugin) Unknown transform 'collections'
This is probably due to updates in vue and the rest of the build tooling.
This package is nearing the end of its lifetime. The original package qrious seems to be dead as well neocotic/qrious#121.
if i have set the "padding" , the qr will not in the center, the right will be more than left.
use like this:
<qriously value="https://github.com" :size="200" :padding="15"></qriously>
希望作者能把属性写全一些,设置背景色无效果,以为是bug呢,看了组件才知道默认透明度是0。。。
backgroundAlpha设置为1就好了
when the content contain 'https://' ,it generate qrcod dosen't contain it.
The default backgroundAlpha of vue-qriously is 0.0, but qriously default backgroundAlpha is 1.0.
I think it's better to set backgroundAlpha to 1.0 as default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.