diff --git a/lib/app/components/nuxt-child.js b/lib/app/components/nuxt-child.js index b22084596a..c1d2c4b6e3 100644 --- a/lib/app/components/nuxt-child.js +++ b/lib/app/components/nuxt-child.js @@ -1,7 +1,7 @@ export default { name: 'nuxt-child', functional: true, - props: ['keepAlive'], + props: ['keepAlive', 'keepAliveProps'], render (h, { parent, data, props }) { data.nuxtChild = true const _parent = parent @@ -44,7 +44,7 @@ export default { ] if (typeof props.keepAlive !== 'undefined') { routerView = [ - h('keep-alive', routerView) + h('keep-alive', { props: props.keepAliveProps }, routerView) ] } return h('transition', {