From 65d645d54ca2743b98573261c25d1f07e2077569 Mon Sep 17 00:00:00 2001 From: devneko Date: Sun, 29 Oct 2017 10:42:38 +0900 Subject: [PATCH] fix regression in dev mode --- lib/app/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {