Closed tigohenryschultz closed 2 years ago
I guess you did not set engineResourcePath
appropriately .
https://github.com/Dynamsoft/javascript-barcode/blob/master/example/web/vue/src/dbr.js
Try to check network tab in developer tools.
I guess you did not set
engineResourcePath
appropriately .https://github.com/Dynamsoft/javascript-barcode/blob/master/example/web/vue/src/dbr.js
Try to check network tab in developer tools.
Worked, thanks. Should throw an error if the user leaves that field null lol
@tigohenryschultz Haha, you are right.
By default it will try to find worker.js
in the same folder of the dbr.js
. In pure js it works. But in framework like vue we most set it manully.
I'm think of detecting framework or just guessing. Make the error message more friendly.
My code: