Get started with NuxtError.
Do collect errors, you need to install the nuxt-error module:
npx nuxi module add nuxt-error
You can generate your API token here.
Finally, add your API token to the nuxtError configuration in nuxt.config.ts.
// nuxt.config.ts
modules: {
'nuxt-error', // add module
},
nuxtError: {
apiToken: process.env.NUXT_ERROR_API_TOKEN // add API token
},
That's it! You can monitor your errors in the NuxtError Dashboard! 🚀