NuxtN
Nuxt3mo ago
3 replies
Ao

Rendering the error page triggers Nuxt server plugin to execute twice.

When accessing an unregistered route page or triggering a Nuxt error, which renders the error.vue page, the server-side Nuxt plugins execute twice. When my plugin contains multiple asynchronous functions, this significantly impacts the page rendering speed. How should I resolve this issue?
20251107000509_17.png
20251107000715_18.png
Was this page helpful?