N
Nuxt3y ago
Zerro

Delay in NuxtLayout Change

I have noticed that when using <NuxtLayout> in individual pages (each of pages in /pages directory), there is delay in transition between different layouts. When defining <NuxtLayout> in app.vue, however, I didn't notice such delay during transition. Is there any way to fix this delay during layout change? I can't afford to put <NuxtLayout> in app.vue because it causes a problem when using layout binding in nuxt content module.
1 Reply
Zerro
ZerroOP3y ago
Nevermind.. I just found that this issue was already being addressed in this PR: https://github.com/vuejs/core/pull/6736
GitHub
feat: introduce suspensible option to to fix suspense flicks by an...
Resolve #5513 This PR introduces a new prop for Suspense - <Suspense suspensible> to allow nested suspense to be captured by the parent suspense. Reproduction Thanks a lot to @danielroe for t...

Did you find this page helpful?