What is the right Way to configure the Nuxt app same as Sentry Documentation for vue? #685
Unanswered
mahfuz-rahman007
asked this question in
Q&A
Replies: 1 comment
-
Module auto-configures all that based on its own settings. Check documentation: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using sentry in my Nuxt app and using this module. I understand some basic configurations but getting confused by the overall documentation.
When I create a project in sentry and select vue I get some instruction on how to implement sentry.
yarn add @sentry/vue
`
import Vue from "vue";
import Router from "vue-router";
import * as Sentry from "@sentry/vue";
Vue.use(Router);
const router = new Router({
});
Sentry.init({
Vue,
dsn: "",
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
],
tracesSampleRate: 1.0,
tracePropagationTargets: ["localhost", /^https://yourserver.io/api/],
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});
new Vue({
router,
render: (h) => h(App),
}).$mount("#app");`
so how can I make this full implementation in the nuxt app, especially how can I configure this in nuxt.config
Beta Was this translation helpful? Give feedback.
All reactions