diff --git a/packages/nuxt/README.md b/packages/nuxt/README.md index 1513d8a5f6d9..eae1b36b03e5 100644 --- a/packages/nuxt/README.md +++ b/packages/nuxt/README.md @@ -4,15 +4,13 @@
-# Official Sentry SDK for Nuxt (BETA) +# Official Sentry SDK for Nuxt [](https://www.npmjs.com/package/@sentry/nuxt) [](https://www.npmjs.com/package/@sentry/nuxt) [](https://www.npmjs.com/package/@sentry/nuxt) -This SDK is in **Beta**. The API is stable but updates may include minor changes in behavior. Please reach out on -[GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if you have any feedback or concerns. This -SDK is for [Nuxt](https://nuxt.com/). If you're using [Vue](https://vuejs.org/) see our +This SDK is for [Nuxt](https://nuxt.com/). If you're using [Vue](https://vuejs.org/) see our [Vue SDK here](https://github.com/getsentry/sentry-javascript/tree/develop/packages/vue). ## Links @@ -21,17 +19,13 @@ SDK is for [Nuxt](https://nuxt.com/). If you're using [Vue](https://vuejs.org/) ## Compatibility -The minimum supported version of Nuxt is `3.0.0`. +The minimum supported version of Nuxt is `3.7.0` (`3.14.0+` recommended). ## General This package is a wrapper around `@sentry/node` for the server and `@sentry/vue` for the client side, with added functionality related to Nuxt. -**Limitations:** - -- Server monitoring is not available during development mode (`nuxt dev`) - ## Manual Setup ### 1. Prerequisites & Installation @@ -112,20 +106,18 @@ Sentry.init({ ## Uploading Source Maps To upload source maps, you have to enable client source maps in your `nuxt.config.ts`. Then, you add your project -settings to the `sentry.sourceMapsUploadOptions` of your `nuxt.config.ts`: +settings to `sentry` in your `nuxt.config.ts`: ```javascript // nuxt.config.ts export default defineNuxtConfig({ - sourcemap: { client: true }, + sourcemap: { client: 'hidden' }, modules: ['@sentry/nuxt/module'], sentry: { - sourceMapsUploadOptions: { - org: 'your-org-slug', - project: 'your-project-slug', - authToken: process.env.SENTRY_AUTH_TOKEN, - }, + org: 'your-org-slug', + project: 'your-project-slug', + authToken: process.env.SENTRY_AUTH_TOKEN, }, }); ``` diff --git a/packages/nuxt/src/module.ts b/packages/nuxt/src/module.ts index 0e6d92636246..5e1343b1ebaa 100644 --- a/packages/nuxt/src/module.ts +++ b/packages/nuxt/src/module.ts @@ -112,15 +112,6 @@ export default defineNuxtModule