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.
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 APICreate 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 APIAdditional 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
+1orme too, to help us triage it.