You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Uncaught ReferenceError: require is not defined with Vue 3 #3091
Hi. After making sure that you have installed the latest Sentry Vue package as indicated here, use the code below as imports and SDK init and try again.
import Vue from "vue";
import * as Sentry from "@sentry/browser";
import { Integrations } from "@sentry/tracing";
Sentry.init({
integrations: [
new Integrations.BrowserTracing(),
],
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 1.0,
});
Activity
t-h-man commentedon Dec 18, 2020
Hi. After making sure that you have installed the latest Sentry Vue package as indicated here, use the code below as imports and SDK init and try again.