-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid import in Vaadin 10+ design template #2462
Comments
Example of design created -
|
For the workaround the correct import is : import { LitElement, html, css } from 'lit-element';
import { customElement } from 'lit/decorators.js'; I don't know if it is related but the designer also import somes components with path that is recognized by the designer but not with Vaadin. Example of import make by the designer : //work with Designer, recognized by my ide, but not by Vaadin
import '@vaadin/vaadin-ordered-layout/src/vaadin-vertical-layout.js'; If I change manually the import, all work fine in all environments : import '@vaadin/vertical-layout/src/vaadin-vertical-layout.js'; I'm not a javascript/typescript developer, so maybe this is just a misunderstanding on my part. |
Hi @TatuLund , which Vaadin version should I use with Vaadin Designer 4.6.26? Thank you. |
Designer should work with Vaadin 8, 14, 23 and 24. |
Steps to reproduce
Actual behavior
Expected behavior
IDE
Designer
OS version
The text was updated successfully, but these errors were encountered: