Is there a way to specify only the latest part of the url in href links? #4217
Unanswered
frederikhors
asked this question in
Q&A
Replies: 2 comments 5 replies
-
There is no way. |
Beta Was this translation helpful? Give feedback.
5 replies
-
You could use a relative href Warning: If the ID changes for some reason, it won't be reflected until the dynamic part of the URL is updated |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say I'm in
players/<PLAYER_ID>/settings/__layout.svelte
and I need two more nested pages:/profile
in/players/[PLAYER_ID]/settings/profile.svelte
/notifications
in/players/[PLAYER_ID]/settings/notifications.svelte
.In
__layout.svelte
I have the links:Is there a way to avoid all the links in that
href
?Something like
/notifications
only?Beta Was this translation helpful? Give feedback.
All reactions