how to change basepath in Link component? #323
Unanswered
ahmadxgani
asked this question in
Q&A
Replies: 1 comment
-
I know this is so late, but you can use
|
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
-
in the example:
it's possible to change the basepath of
/users
? in my case i want to navigate user from/dashboard/home
to/auth/logout
but the actual result is/dashboard/logout
i hope i can do something like:
<Link href="/users" base={false}>Users</Link>
to omit or disable chaining base pathi try to change router.base from useRouter hook, but it seems read-only object, am i misunderstand about this section on the docs?:
Beta Was this translation helpful? Give feedback.
All reactions