Nuxt guide

Nuxt error tracking

Errilo receives your Nuxt errors from the official @sentry/nuxt SDK: Nitro server routes and Vue in the browser. Already on Sentry? Only the DSN changes.

Updated

Errilo is in development. This guide describes the setup our compatibility suite tests today; the private beta opens in summer 2027.

What gets caught

Our compatibility suite builds a Nuxt 4 app, starts it in production mode and checks that both errors reach Errilo, for every SDK version listed below.

Setup

These are the files from Sentry’s setup for Nuxt. If you already have them, keep them as they are.

nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@sentry/nuxt/module"],
  runtimeConfig: {
    public: {
      sentry: { dsn: "" }, // set by NUXT_PUBLIC_SENTRY_DSN
    },
  },
});
sentry.client.config.ts
import * as Sentry from "@sentry/nuxt";

Sentry.init({
  dsn: useRuntimeConfig().public.sentry.dsn,
});
sentry.server.config.ts
import * as Sentry from "@sentry/nuxt";

Sentry.init({
  dsn: process.env.SENTRY_DSN,
});

In production, load the server config before the app with --import, and set the DSN of your Errilo project. Both DSNs are read at runtime: no rebuild needed to change them.

SENTRY_DSN=https://<key>@ingest.errilo.com/<project> \
NUXT_PUBLIC_SENTRY_DSN=https://<key>@ingest.errilo.com/<project> \
node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs

Keep --import: with SDK 9 and 10, server errors don’t arrive without it.

Readable stack traces

In development: source map upload and readable stack traces will be ready for the private beta.

The @sentry/nuxt module uploads your source maps at build time. Errilo implements the same upload API: give the plugin Errilo’s address and an Errilo token, and stack traces point to your TypeScript source instead of the compiled code. See the migration guide.

Tested versions

Versions of @sentry/nuxt tested against Errilo
Major versionTested version
v9@sentry/nuxt@9.47.2
v10@sentry/nuxt@10.78.0
v11@sentry/nuxt@11.12.0

With Nuxt 4.

Early access

We’re opening a private beta in summer 2027 for a handful of teams running Node.js or TypeScript in production. Join the waitlist and we’ll write when it opens.