Documentación offline Nuxt main

<NuxtErrorBoundary>

main Documentación oficial Licencia MITDescargado el 2026-08-02

En esta página

::tip The <NuxtErrorBoundary> uses Vue's onErrorCaptured hook under the hood. ::

Events#

  • @error: Event emitted when the default slot of the component throws an error.

vue [app/app.vue] <template> <NuxtErrorBoundary @error="logSomeError"> <!-- ... --> </NuxtErrorBoundary> </template>

Slots#

  • #error: Specify a fallback content to display in case of error.

```vue [app/app.vue]