We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37fd1a commit 43b118fCopy full SHA for 43b118f
src/runtime/router.ts
@@ -69,9 +69,7 @@ export default defineNuxtPlugin(async nuxtApp => {
69
router.afterEach((to, from) => {
70
// We won't trigger suspense if the component is reused between routes
71
// so we need to update the route manually
72
- if (to.matched[0]?.components?.default === from.matched[0]?.components?.default) {
73
- syncCurrentRoute()
74
- }
+ syncCurrentRoute()
75
})
76
77
// https://github.com/vuejs/router/blob/main/packages/router/src/router.ts#L1225-L1233
0 commit comments