QR Code component for VueJS
npm install --save @mesquka/qr.vue
Include the script file, then install the component with Vue.use(qrvue);
e.g.:
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/qr.vue/lib/qr.vue.umd.min.js"></script>
<script type="text/javascript">
Vue.use(qrvue);
</script>
import qrvue from '@mesquka/qr.vue';
Once installed, it can be used in a template as simply as:
<qrvue></qrvue>