-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
BFPWarranty prioritised issueWarranty prioritised issue
Description
When 'frontend' directory is moved, then Designer can not handle Lit component within Lit component.
NOTE: Designer does not have same problem with Polymer components.
Steps to reproduce
My sample project:
skeleton-starter-flow-spring-frontend-moved.zip
- Clone vaadin 14 starter project
git clone https://github.com/vaadin/skeleton-starter-flow-spring.git cd skeleton-starter-flow-spring git checkout v14
- Rename 'frontend' direcotry to 'frontend-moved'
git mv frontend frontend-moved
- Change frontend directory. Edit maven project file 'pom.xml'.
Add 'frontendDirectory' -configurationInto 'vaadin-maven-plugin' in 'plugin' section.<configuration> <frontendDirectory>${project.basedir}/frontend-moved</frontendDirectory> </configuration>
NOTE: The 'vaadin-maven-plugin' is in two sections 'build' and 'profiles'.
End result sample:<plugin> <groupId>com.vaadin</groupId> <artifactId>vaadin-maven-plugin</artifactId> <version>${vaadin.version}</version> <configuration> <frontendDirectory>${project.basedir}/frontend-moved</frontendDirectory> </configuration> </plugin>
- Import into Eclipse IDE
- Create new Lit component 'lit-test-child'
- Create new Lit component 'lit-test-parent'
- Drag&Drop 'lit-test-child' into 'lit-test-parent'
Actual behavior
Designer does not show any content for child Lit component.
If "lit-test-parent" is reopened, then just white canvas is shown.
No content at all :(
Expected behavior
Designer should show 'lit-test-child' componet content within the 'lit-test-parent' component view.
IDE, Designer and OS version
IDE | Designer | Vaadin | OS |
---|---|---|---|
Eclipse 2021-12 | 4.6.14 | 14.8.6 | Windows |
Metadata
Metadata
Assignees
Labels
BFPWarranty prioritised issueWarranty prioritised issue