qrious
qrious copied to clipboard
TypeError: Cannot set property 'QRious' of undefined
Line 22 (global.QRious = factory());
got me the error TypeError: Cannot set property 'QRious' of undefined
My code was a simple
var qrcode = new QRious({
element: canvas,
value: "plop",
size: 300,
level: "M"
});
is you canvas variable exist?
yep
did you import Qrious class after the html element? replace also canvas by img element