Socket
Socket
Sign inDemoInstall

qrcode.vue

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qrcode.vue

A Vue.js component to generate QRCode.


Version published
Maintainers
1
Created

What is qrcode.vue?

qrcode.vue is a Vue.js component for generating QR codes. It provides a simple and flexible way to create QR codes in your Vue applications.

What are qrcode.vue's main functionalities?

Basic QR Code Generation

This feature allows you to generate a basic QR code by providing a value (e.g., a URL) to the `qrcode-vue` component.

<template>
  <qrcode-vue value="https://example.com" />
</template>

<script>
import QrcodeVue from 'qrcode.vue';

export default {
  components: {
    QrcodeVue
  }
};
</script>

Customizing QR Code Size

You can customize the size of the QR code by setting the `size` prop.

<template>
  <qrcode-vue value="https://example.com" :size="200" />
</template>

<script>
import QrcodeVue from 'qrcode.vue';

export default {
  components: {
    QrcodeVue
  }
};
</script>

Customizing QR Code Color

This feature allows you to customize the colors of the QR code by setting the `color` prop with `dark` and `light` values.

<template>
  <qrcode-vue value="https://example.com" :color="{ dark: '#000000', light: '#ffffff' }" />
</template>

<script>
import QrcodeVue from 'qrcode.vue';

export default {
  components: {
    QrcodeVue
  }
};
</script>

Other packages similar to qrcode.vue

Keywords

FAQs

Package last updated on 12 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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