mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxt): fix router redirection on aliased pages (#4982)
This commit is contained in:
parent
733c293901
commit
4e53af3e99
@ -184,6 +184,7 @@ export default defineNuxtPlugin(async (nuxtApp) => {
|
|||||||
try {
|
try {
|
||||||
await router.replace({
|
await router.replace({
|
||||||
...router.resolve(initialURL),
|
...router.resolve(initialURL),
|
||||||
|
name: undefined, // #4920, #$4982
|
||||||
force: true
|
force: true
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user