Closed matteo-cristino closed 2 months ago
seems also that you can include the build/ bundle https://www.npmjs.com/package/qrcode#browser
Using https://dyne.org/slangroom/playground/ with contract
Rule unknown ignore
Given I send text 'text' and create qr code and output into 'result'
Given I have a 'string' named 'result'
Then print the 'result'
and data
{
"text": "hello"
}
everything seems to works fine 🤷
awesome! I guess we can close this then ;p
At the moment the qrcode library that we are using does not run natively in the browser (can be used with module bundlers like Browserify). Maybe it can be worth it to search for some new library that can run also in the browser