For some reason this add-on is not loading js files (Vaadin v23.2.6). So

For some reason this add-on is not loading js files (Vaadin v23.2.6). So, I had to enforce it by adding annotations:

@Route("qr")
@JsModule("vaadin-zxing-reader.js")
@NpmPackage(value = "@zxing/browser", version = "^0.1.1")
public class MyScanView extends VerticalLayout {
..
}


Thanks for telling me this. I have no idea what was happening here as I cannot reproduce it at my local. Is it making any difference if you recreate your project from scratch? Cheers.