mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
Fix hot reloading
This commit is contained in:
parent
7f767b7fb7
commit
8831331e3d
@ -236,7 +236,7 @@ function fixPrepatch (to, ___) {
|
|||||||
}
|
}
|
||||||
this.setLayout(layout)
|
this.setLayout(layout)
|
||||||
// hot reloading
|
// hot reloading
|
||||||
Vue.nextTick(() => hotReloadAPI(this))
|
setTimeout(() => hotReloadAPI(this), 100)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user