Using Spring typically does not have impact on how you implement Vaadin custom components client side. However information you have given is too minimal to describe the problem, so I cannot give much direction. I would suggest you to browse the Directory vaadin.com/directory Most of the add-ons have Github repository linked which is easy to clone and investigate how the component was implemented. Together with generic documentation on our site you should be able to grasp the idea how to do it.
I have found the solution, everything is about .pom file and dependedency.
But now i am not sure what dependencies are needed and which not.
I have added this.
But now the problem is about this https://pastebin.com/CxArPNnk
My class public class TreeCanvas extends VerticalLayout
The problem is why the hell from this dependencies jetty starting with SpringBoot (Before this was Tomcat)