diff --git a/lib/app/client.js b/lib/app/client.js index 3a98e4de58..004788d4eb 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -393,7 +393,7 @@ function nuxtReady (app) { // Special hot reload with asyncData(context) function getNuxtChildComponents($parent, $components = []) { $parent.$children.forEach(($child) => { - if ($child.$vnode.data.nuxtChild && !$components.find(c =>(component.$options.__file === $child.$options.__file))) { + if ($child.$vnode.data.nuxtChild && !$components.find(c =>(c.$options.__file === $child.$options.__file))) { $components.push($child) } if ($child.$children && $child.$children.length) {