Integrations · JavaScript framework

Pagerless for Nuxt

One server plugin hooks Nitro's `error` hook: API routes, server rendering and middleware.

Set up

npm i pagerless
server/plugins/pagerless.ts
export { default } from "pagerless/nuxt";

Vue errors in the browser: export default defineNuxtPlugin(nuxtAppPlugin), with nuxtAppPlugin from pagerless/nuxt. On edge presets the send runs in waitUntil.

What it catches

  • API route, SSR and middleware errors from Nitro.
  • Reports 5xx and crashes only, never 4xx, and leaves the response, logs and error exactly as they were.
  • On Node it also starts the SDK: uncaught errors and unhandled rejections, status and latency per route, failing outbound calls (Stripe, OpenAI, Supabase and others named), a heartbeat every 60 seconds and a deploy marker.

Questions

Does it work on Nuxt's edge presets?

Yes. On edge presets it sends in waitUntil, so responses are not held up.

Updated .

Free for you and one backup · 3 apps · no card

Sleep through the small stuff.

Run one command in your repo. Pagerless shows every change before it makes it.

npx pagerless connect