Skip to content

Vue documentation wrong for replayIntegration setup #10802

@illegalnumbers

Description

@illegalnumbers

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

7.92.0

Framework Version

vue 7.92.0

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

This documentation https://docs.sentry.io/platforms/javascript/guides/vue/session-replay/ is wrong.

Copy pasting it results in an error with typescript not finding replayIntegration on the Sentry type.

 integrations: [
      Sentry.replayIntegration({
        // Additional SDK configuration goes in here, for example:
        maskAllText: true,
        blockAllMedia: true,
      }),
    ],

This code results in Uncaught TypeError: Sentry.replayIntegration is not a function

Expected Result

The docs work

Actual Result

 integrations: [
      Sentry.replayIntegration({
        // Additional SDK configuration goes in here, for example:
        maskAllText: true,
        blockAllMedia: true,
      }),
    ],

This code results in Uncaught TypeError: Sentry.replayIntegration is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions