Open clawfire opened 3 years ago
Line 22 (global.QRious = factory()); got me the error TypeError: Cannot set property 'QRious' of undefined
(global.QRious = factory());
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
Line 22
(global.QRious = factory());
got me the errorTypeError: Cannot set property 'QRious' of undefined
My code was a simple