Vue UI Components Documentation
The Vue QRcode generates QR codes, with error-correction levels, colours and an embedded logo. This guide adds the Vue QRcode (jqxQRcode) to an app, then shows how to set its options, handle its events and call its methods.
jqwidgets-scriptsjqwidgets-scripts/jqwidgets-vue3/vue_jqxqrcode.vue 
In a Vue 3 project (to start one, see Getting started with Vue), add the package:
npm install jqwidgets-scripts
import JqxQRcode from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxqrcode.vue';
import 'jqwidgets-scripts/jqwidgets/styles/jqx.base.css';
import 'jqwidgets-scripts/jqwidgets/styles/jqx.tailwind-blue-dark.css';
With <script setup>, an imported component is ready to use in the template. jqx.base.css is required; the second file is a theme, selected with the theme attribute.
Listen to an event with @ and its name. For example, invalid: This event is triggered when the value of the QR Code is invalid.
<script setup>
function onInvalid(event) {
console.log(event.args);
}
</script>
<template>
<JqxQRcode @invalid="onInvalid" />
</template>
Call methods through a template ref. For example, export: Exports the QR Code.
<script setup>
import { ref, onMounted } from 'vue';
const myQRcode = ref(null);
onMounted(() => {
myQRcode.value.export('format');
});
</script>
<template>
<JqxQRcode ref="myQRcode" />
</template>
Every component also has setOptions({ … }) and getOptions('name').