mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
parent
0c6c69b011
commit
e1c1240b8d
@ -63,7 +63,7 @@ export default async function renderAndGetWindow(
|
|||||||
// Used by Nuxt.js to say when the components are loaded and the app ready
|
// Used by Nuxt.js to say when the components are loaded and the app ready
|
||||||
await timeout(new Promise((resolve) => {
|
await timeout(new Promise((resolve) => {
|
||||||
window[loadedCallback] = () => resolve(window)
|
window[loadedCallback] = () => resolve(window)
|
||||||
}), loadingTimeout, `Components loading in renderAndGetWindow was not completed in ${timeout / 1000}s`)
|
}), loadingTimeout, `Components loading in renderAndGetWindow was not completed in ${loadingTimeout / 1000}s`)
|
||||||
|
|
||||||
if (options.virtualConsole) {
|
if (options.virtualConsole) {
|
||||||
// After window initialized successfully
|
// After window initialized successfully
|
||||||
|
Loading…
Reference in New Issue
Block a user