Skip to content

Vue Options API warning caused by Sentry tracing integration in Nuxt compatibility v5 #23462

Closed as duplicate

Description

@simonmaass

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nuxt

SDK Version

10.70.0

Framework Version

Nuxt 4.5.2

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

When using @sentry/nuxt with Nuxt 4 configured for future.compatibilityVersion: 5, the browser logs:
[Vue warn]: Mixins are only available in builds supporting Options API

Create a Nuxt 4 application with:

future: {
compatibilityVersion: 5
}

Configure Sentry with tracing enabled, for example:

Sentry.init({
dsn: '...',
tracesSampleRate: 0.1
})

Load any page in the browser.

Expected Result

Sentry tracing works without Vue Options API warnings, particularly when component tracking is disabled.

Actual Result

Sentry registers an Options API mixin and Vue emits the warning.

[Vue warn]: Mixins are only available in builds supporting Options API

Additional Context

@sentry/vue registers its tracing integration through a global mixin whenever tracing is enabled:

app.mixin(createTracingMixins(options.tracingOptions))

Nuxt’s v5 compatibility mode disables Vue’s Options API build feature by default. This produces the warning even when trackComponents is false.

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Activity

  1. linear-code commented on Aug 20, 2026

    @linear-code
  2. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Aug 20, 2026
  3. andreiborza commented on Aug 20, 2026

    @andreiborza
    Member

    Hi, we are currently on a company-wide hackweek and will get back to issue triaging August 24th. We'll take another look then.

  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Aug 20, 2026
  5. s1gr1d commented on Aug 20, 2026

    @s1gr1d
    Member

    Linking this as this is a known problem with the pre-release of Nuxt v5: #23375

    For the time being, it can be re-enabled with:

    export default defineNuxtConfig({
      vue: {
        optionsApi: true
      }
    })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions