Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nuxt/nuxt/llms.txt
Use this file to discover all available pages before exploring further.
Events
@error
Event emitted when the default slot of the component throws an error.
Slots
#error
Specify a fallback content to display in case of error.
#error slot provides the following properties:
The error object that was caught.
A function to clear the error and reset the component state.
Example
Accessing error and clearError in script
You can access error and clearError properties within the component’s script as below: