Build Nuxt 4 client cabinet with Apollo and GraphQL flows

This commit is contained in:
Ruslan Bakiev
2026-03-30 21:41:19 +07:00
parent 0220041129
commit 79d6138cca
36 changed files with 14418 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
import * as Sentry from '@sentry/vue';
export default defineNuxtPlugin((nuxtApp) => {
const config = useRuntimeConfig();
const dsn = config.public.sentryDsn;
if (!dsn) {
return;
}
Sentry.init({
app: nuxtApp.vueApp,
dsn,
environment: config.public.sentryEnvironment,
release: config.public.sentryRelease,
tracesSampleRate: 0.1,
});
});