mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
chore(nuxt): use router code reference permalink (#28356)
This commit is contained in:
parent
44a49f0bc1
commit
754fc30e5d
@ -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
|
||||
for (const key in _route.value) {
|
||||
Object.defineProperty(route, key, {
|
||||
|
Loading…
Reference in New Issue
Block a user