How to configure relative path redirection? #2364
-
I want [
{
path: '/',
children: [
{
path: 'menu',
// redirect: 'menu-1',
children: [
{
path: 'menu-1',
},
],
},
],
},
] |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Sep 21, 2024
Replies: 1 comment 2 replies
-
Probably |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably
redirect: to => to.path + '/' + 'menu-1'
or a similar approach that keeps query and hash