mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
fix regression in dev mode
This commit is contained in:
parent
c0065127f1
commit
65d645d54c
@ -393,7 +393,7 @@ function nuxtReady (app) {
|
|||||||
// Special hot reload with asyncData(context)
|
// Special hot reload with asyncData(context)
|
||||||
function getNuxtChildComponents($parent, $components = []) {
|
function getNuxtChildComponents($parent, $components = []) {
|
||||||
$parent.$children.forEach(($child) => {
|
$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)
|
$components.push($child)
|
||||||
}
|
}
|
||||||
if ($child.$children && $child.$children.length) {
|
if ($child.$children && $child.$children.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user