Hi there!
I am trying to use your add on with Vaadin 14.3.5 and spring boot. Although the route animations work very well, when it comes to components I get the following error in the browser (clearAnimation is not defined). For some reason it cannot read the method from compani.js or compani.js is not injected properly. Any suggestions for this?
Sorry for the delay. It seems the javascript resource file is not loaded correctly for spring boot applications.
Please add this code to Application.java (to load the animation script resource).
@Bean
public ServletRegistrationBean registerComponentAnimations() {
return new ServletRegistrationBean(new ResourceLoaderServlet(), "/frontend/compani/compani.js");
}
My turn to apologize for the delayed response to your answer. It works perfectly now. Keep up the good work!