mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
parent
6589670864
commit
e2ab1b4896
@ -112,7 +112,7 @@ export async function getRouteData(route) {
|
|||||||
return {
|
return {
|
||||||
...route,
|
...route,
|
||||||
meta: getMatchedComponents(route).map((Component) => {
|
meta: getMatchedComponents(route).map((Component) => {
|
||||||
return Component.options.meta || {}
|
return Component.options.meta || route.meta || {}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user