Installation

Get started with NuxtError.

1. Install the nuxt-error module

Do collect errors, you need to install the nuxt-error module:

npx nuxi module add nuxt-error

2. Create your API token

You can generate your API token here.

3. Add nuxt-error to your config

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! 🚀