You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Global or absolute links don't need a link(url: string) form - an absolute URL can already be used in the href attribute of an <a> tag. But links within components shouldn't need to be tied to the specific URL layout - you should be able to describe the route by name and parameters. These names and parameters need to be nested to work with nested routes.
Reproduction
n/a
Workaround
n/a
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
all
Browser/OS/Node environment
All browsers
The text was updated successfully, but these errors were encountered:
justinfagnani
changed the title
[labs/router] goto() and link() don't work for nested routes
[labs/router] goto() and link() don't work for relative routes
Oct 13, 2022
justinfagnani
changed the title
[labs/router] goto() and link() don't work for relative routes
[labs/router] goto() and link() don't work for global routes
Oct 13, 2022
Which package(s) are affected?
Other/unknown (please mention in description)
Description
See: https://github.com/lit/lit/tree/main/packages/labs/router#global-links
Reproduction
n/a
Workaround
n/a
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
all
Browser/OS/Node environment
All browsers
The text was updated successfully, but these errors were encountered: