Not working with Vaadin 22. No Error, But no display.

Not working with Vaadin 22. No Error, But no display.

I got the same Problem with 23.0.0

in my experience this add-on works fine with vaadin 23.x, BUT: if you enable “vite”, and use “production” maven profile, rendering a chart fails with a javascript error:

generated-flow-imports.e57ebe83.js:4910 Uncaught ReferenceError: require is not defined
    at ApexChartsWrapper.ready (generated-flow-imports.e57ebe83.js:4910:622)
    at E.ready (FlowClient.fb0b2676.js:3:77461)
...	

otherwise it works fine without “vite”, or with development maven profile regardless of vite.

Tracked in https://github.com/vaadin/flow/issues/14039