0.2.7 • Published 5 months ago

v-qr-code-next v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

vite-qr-code

npm

INTRODUCTION

The qrcode package is based on Vite 5. Try StackBlitz or try SFC playground.

This is a lightweight demo to use template-vanilla of create-vite.

Usage

import qrcode from "v-qr-code-next";

const typeNumber = 8;
const errorCorrectionLevel = "L";
const qr = qrcode(typeNumber, errorCorrectionLevel);
qr.addData("Hello VUI!").make();

document.querySelector("#app").innerHTML = `
<center>
  <h3>QR Code - VUI</h3>
  <p>Image</p>
  ${qr.createImgTag()}
  <hr/><p>SVG</p>
  ${qr.createSvgTag()}
  <hr/><p>Table</p>
  ${qr.createTableTag()}
  <hr/><p>ASCII</p>
  ${qr.createASCII()}
  <hr/><p>DataURL</p>
  ${qr.createDataURL()}
</center>
`;

Project setup

How to setup your project

npm i

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Customize configuration

About vite, please check Configuration Reference - vite.

License

0.2.7

5 months ago

0.2.6

6 months ago

0.1.13

1 year ago

0.1.14

1 year ago

0.1.15

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.1.12

1 year ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.9

2 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago