theomessin / vue-qriously

🤔 A Vue component to draw QR codes using Qrious.

Home Page:http://jsfiddle.net/2tjtcsqe/1/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[DEPRECATED] vue-qriously

This package is no longer maintained. A Vue.js 2 component to draw QR codes on an HTML Canvas using qrious.

Installation

  • NPM / Yarn

    Run npm install --save vue-qriously, or yarn add vue-qriously

  • With Modules

    // ES6
    import Vue from 'vue'
    import VueQriously from 'vue-qriously'
    Vue.use(VueQriously)
    
    // ES5
    var Vue = require('vue')
    Vue.use(require('vue-qriously').default)
  • <script> Include

    Just include ./dist/vue-qriously.js after Vue itself.

Usage

There's nothing you need to do in JavaScript except for installation. To use the plugin, simply use the qriously component.

<qriously value="Hello World!" :size="200" />

You may use all of these props to change the format of your QR code.

License

MIT

About

🤔 A Vue component to draw QR codes using Qrious.

http://jsfiddle.net/2tjtcsqe/1/

License:MIT License


Languages

Language:Vue 71.4%Language:JavaScript 28.6%