diff --git a/packages/nuxt/src/pages/runtime/router.ts b/packages/nuxt/src/pages/runtime/router.ts index 8b9b454f3d..f5d00f192d 100644 --- a/packages/nuxt/src/pages/runtime/router.ts +++ b/packages/nuxt/src/pages/runtime/router.ts @@ -184,6 +184,7 @@ export default defineNuxtPlugin(async (nuxtApp) => { try { await router.replace({ ...router.resolve(initialURL), + name: undefined, // #4920, #$4982 force: true }) } catch (error) {