hilla
hilla copied to clipboard
Add an option which adds the correct frontend React and Signal etc. dependencies
Describe your motivation
I am about to convert old Hilla/Lit application to Hilla/React. It would be convenient if there is a simple command that will add the needed frontend dependencies using the preferred versions defined by the platform.
Describe the solution you'd like
The first thing that popped to my mind would be maven command, e.g.
mvn vaadin:add-react
Describe alternatives you've considered
This could be utility also in Copilot, VSCode plugin or Vaadin CLI (although I think the last one is not well known and the first choice for many).
Additional context
No response
There is existing React mode switch that enables React dependencies. It would be preferred if React mode could be enabled with a dedicated property instead of the command.
So let's document using vaadin.react.enable for this use case.
So let's document using vaadin.react.enable for this use case.
Ok. I could not find that when I was browsing Hilla docs when doing this.