Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qrcode.vue

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qrcode.vue - npm Package Versions

234

3.6.0

Diff

iiiwwj
published 3.5.1 •

iiiwwj
published 3.5.0 •

Changelog

Source

[3.5.0] - 2024-09-26

Feature

  • Support logo image for Qrcode.
  • Exports separate QrcodeCanvas and QrcodeSvg components

Direct references to QrcodeVue in common.js and cdn now require the default field:

const QrcodeVue = require('qrcode.vue').default
const { default: QrcodeVue, QrcodeCanvas, QrcodeSvg } = require('qrcode.vue')
<!--With HTML-->
<div id="root">
  <p class="flex space-x">
  <qrcode-vue :value="test" render-as="svg"></qrcode-vue>
<qrcode-canvas :value="test"></qrcode-canvas>
<qrcode-svg :value="test" :image-settings="imageSettings"></qrcode-svg>
</p>
<p><input v-model="test" /></p>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@3.5/dist/vue.global.prod.js"></script>
<script src="https://cdn.jsdelivr.net/npm/qrcode.vue@3.5/dist/qrcode.vue.browser.min.js"></script>

<script>
Vue.createApp({
  data() { return {
    test: 'Hello World',
    imageSettings: {
      src: 'https://avatars.githubusercontent.com/u/15811268',
      width: 30,
      height: 30,
      excavate: true,
    },
  }},
  components: {
    QrcodeVue: QrcodeVue.default,
    QrcodeCanvas: QrcodeVue.QrcodeCanvas,
    QrcodeSvg: QrcodeVue.QrcodeSvg,
  },
}).mount('#root')
</script>
iiiwwj
published 3.4.1 •

Changelog

Source

[3.4.1] - 2023-08-05

BUGFIX

  • Fixed TypeScript type export error.
iiiwwj
published 3.4.0 •

Changelog

Source

[3.4.0] - 2023-04-15

Performance

  • remove qr.js dependency, use nayuki/QR-Code-generator instead.
iiiwwj
published 3.3.4 •

iiiwwj
published 3.3.3 •

iiiwwj
published 3.3.2 •

iiiwwj
published 3.3.1 •

Changelog

Source

[3.3.1] - 2021-09-11

BUGFIX

  • Fix document description error, adjust renderAs to render-as.
scopewu
published 3.3.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc