See it in Action : https://www.apps4developers.com/qr-code/
Installing qrcode
Install QrCode library from npm.
npm install qrcode
Generate QR Code from String
import QRCode from 'qrcode'; QRCode.toDataURL( `https://www.apps4developers.com`, { margin: 2}, function (err, url) { if (err) throw err; console.log(url); } );
Top comments (0)