chore(nuxt): use router code reference permalink (#28356)

This commit is contained in:
Bobbie Goede 2024-08-01 16:02:19 +02:00 committed by GitHub
parent 44a49f0bc1
commit 754fc30e5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ const plugin: Plugin<{ router: Router }> = defineNuxtPlugin({
} }
}) })
// https://github.com/vuejs/router/blob/main/packages/router/src/router.ts#L1225-L1233 // https://github.com/vuejs/router/blob/8487c3e18882a0883e464a0f25fb28fa50eeda38/packages/router/src/router.ts#L1283-L1289
const route = {} as RouteLocationNormalizedLoaded const route = {} as RouteLocationNormalizedLoaded
for (const key in _route.value) { for (const key in _route.value) {
Object.defineProperty(route, key, { Object.defineProperty(route, key, {