error-tracking-nuxt

Integrate PostHog error tracking into Nuxt 3+ apps with source-map uploads.

58|5|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/PostHog/skills --skill error-tracking-nuxt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-tracking-nuxt
Source: https://github.com/PostHog/skills/tree/main/skills/posthog/all/skills/error-tracking-nuxt
Command: npx skills add https://github.com/PostHog/skills --skill error-tracking-nuxt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PostHog error tracking for Nuxt helps you monitor and manage client- and server-side errors in Nuxt applications with integrated analytics, alerts, and source-map support.

Core Features & Use Cases

  • Integrates PostHog error tracking into Nuxt apps with autocapture, fingerprinting, alerts, monitoring, and external issue creation.
  • Supports uploading source maps and analyzing issues across environments to improve debugging and reliability.
  • Use case: A Nuxt app deploys in production with frequent TypeError errors; this skill captures, groups, and surfaces issues in PostHog for triage and resolution.

Quick Start

Install the PostHog Nuxt module, configure your public key/host, and enable automatic client- and server-side error capture.

Frequently Asked Questions about error-tracking-nuxt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up error tracking in a Nuxt 3 app?

Error tracking in a Nuxt 3 app is set up by installing the PostHog Nuxt module, configuring your public key and host via environment variables, and enabling automatic client- and server-side error capture before any manual captures.

Can PostHog capture both client-side and server-side errors in Nuxt?

Yes, PostHog captures both client-side and server-side exceptions in Nuxt applications. It automatically groups these errors using fingerprints and surfaces them as issues for triage, monitoring, and resolution.

Does PostHog error tracking support uploading source maps for Nuxt?

Yes, PostHog error tracking supports uploading source maps for Nuxt apps. This allows you to analyze minified production code issues across environments to improve debugging accuracy and reliability.

How do I configure alerts and issue monitoring for Nuxt exceptions?

Alerts and issue monitoring for Nuxt exceptions are configured through PostHog's error tracking integration. Once enabled, it captures, groups, and surfaces issues with integrated analytics, fingerprinting, and external issue creation.

Do I need environment variables to enable PostHog error tracking in Nuxt?

Yes, environment variable usage is required to configure your PostHog public key and host. This setup is necessary to authenticate and route error tracking data from your Nuxt application correctly.