Configuring Sentry in your Remix Supabase SaaS kit
Please set the following environment variable:
VITE_MONITORING_PROVIDER=sentryVITE_SENTRY_DSN=your_dsn
Update your root app at apps/web/app/root.tsx
to include the following:
- Install the Sentry SDK for Remix in your application project:
cd apps/webpnpm i @sentry/remix
- Update your root app to include the Sentry SDK:
// import the Sentry SDKimport { withSentry } from '@sentry/remix';// export your root app wrapped with Sentryexport default withSentry(App);