Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (25 loc) · 984 Bytes

readme.md

File metadata and controls

38 lines (25 loc) · 984 Bytes

[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