Find substitute of Design

Hello,

I’m searching a substitute of the component “Design” from Vaadin 8 in Vaadin 14.
I want to do “Design.read(this)” but I can’t do it in Vaadin 14 beacause Design doesn’t exist.
Can you help me please?
Thanks!

Mechanism like we had in Vaadin 8 is obsolete in Vaadin 14. In Vaadin 8 Designer saved the designs in proprietary xml format of ours. With Vaadin 14 the design file is saved as standard ES template instead. This is used in Vaadin 14 Java code by importing it using @JsModule annotation, etc. In Vaadin 14 documentation you can find more details on this. This ofcourse means that Vaadin 8 design files are not directly compatible with Vaadin 14.