Mini Programs QRCode Create QRCode by using canvas. Usage import QRCode from 'qrcode' ... let context = wx.createCanvasContext('qrcode') let qrcode = new QRCode(context, { width: 200, height: 200, colorDark: "#000000" }) qrcode.makeCode('Hello World!') } Thanks qrcodejs