N
Nuxt2mo ago
K1nggor

Is it possible to disable Suspense in Nuxt 3?

Hi, I don't use Suspense in my project and don't need it. The <Suspense> is an experimental feature and its API will likely change. warning occurs in the runtime and in the tests making it worse to read. Is it possible to disable it in the entire project? I didn't find a config under nuxt config experimental key.
No description
4 Replies
manniL
manniL2mo ago
No, Suspense is part of how nuxt handles routing. You could either patch vue or the logging function.
K1nggor
K1nggor2mo ago
How can I patch the logging function ?
manniL
manniL2mo ago
you can try out the warn handler of vue
manniL
manniL2mo ago
Vue.js
Vue.js - The Progressive JavaScript Framework