Trying to use charts (2.0.0.beta2) with Vaadin 14.0.1 + Spring Boot and failed with exception:
Caused by: java.lang.IllegalStateException: Couldn't find the definition of the element with tag 'apex-charts-wrapper' in any template file declared using '@JsModule' annotations. Check the availability of the template files in your WAR file or provide alternative implementation of the method getTemplateContent() which should return an element representing the content of the template file
Apparently the @NpmPackage Annotations in this dependency are being ignored by the dev-updater when using Spring Boot, meaning that the needed JS dependency are not available during webpack/runtime. [I’ve created an issue for this on Github]
(https://github.com/vaadin/flow/issues/6307)
Greetings! Same error, but on a different annotation: @‘HtmlImport’.
Doesn’t build graphics with an error - java.lang.IllegalStateException: Couldn't find the definition of the element with tag 'apex-charts-wrapper' in any template file declared using @'HtmlImport' annotations. Check the availability of the template files in your WAR file or provide alternative implementation of the method getTemplateContent() which should return an element representing the content of the template file