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.
getNuxtChildComponents
1 parent 111455f commit dbf7099Copy full SHA for dbf7099
packages/vue-app/template/client.js
@@ -528,7 +528,7 @@ const noopFetch = () => {}
528
// Special hot reload with asyncData(context)
529
function getNuxtChildComponents($parent, $components = []) {
530
$parent.$children.forEach(($child) => {
531
- if ($child.$vnode.data.nuxtChild && !$components.find(c =>(c.$options.__file === $child.$options.__file))) {
+ if ($child.$vnode && $child.$vnode.data.nuxtChild && !$components.find(c =>(c.$options.__file === $child.$options.__file))) {
532
$components.push($child)
533
}
534
if ($child.$children && $child.$children.length) {
0 commit comments