Open Kolobok12309 opened 4 years ago
Mb for nuxt asyncData api, because waitFor not working for this Something like this
waitFor
export default function (waiter, func) { return async (...args) => { const { app } = args[0]; try { app.wait.start(waiter); return await func.apply(this, args); } finally { app.wait.end(waiter); } }; };
Or if vue-wait have this function, sorry and help pls)
vue-wait
Mb for nuxt asyncData api, because
waitFor
not working for this Something like thisOr if
vue-wait
have this function, sorry and help pls)