hilla
hilla copied to clipboard
Add support for a RouterLink to client-side views
Vaadin 17.
RouterLink
assumes you want to navigate to a java component. If I want to navigate to a client-side view, I need to create an Anchor
and set the router-link
attribute manually. It would be handy to have a new RouterLink(String href, String text)
option.
As a workaround, please use ElementFactory.createRouterLink(href, text)
.
BTW, the router-link
attribute is not necessary starting from Vaadin 15.
is it still needed today?