I’m trying to create a new flow addon with react support. I understand that if I want to include my .tsx file inside my addon (jar file), the .tsx file should go in src/main/META-INF/resources/frontend location. The problem is that in VSCode and Eclipse I’m getting the following import error (if I start the application it works fine):
Personally, I don’t think that there is already a solution available… I would suggest to change your add-on structure to look more like a real flow project with a frontend folder and use a maven plugin to move your typescript / react code into the meta inf folder once you package it.
Hi Andre. Please take a look at this post. There you can find all the information about the work we did on creating Vaadin add-ons integrating React components. Currently we have 3 add-ons integrating React components that you can find at Vaadin’s directory:
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.