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
This SDK currently only supports [Svelte](https://svelte.dev/) and is not yet fully compatible with with [SvelteKit](https://kit.svelte.dev/). If you would like the SDK to be fully compatible with SvelteKit, please reach out to us on [GitHub](https://github.com/getsentry/sentry-javascript/discussions/5838).
13
+
This SDK currently only supports [Svelte](https://svelte.dev/) apps in the browser.
14
+
If you're using SvelteKit, we recommend using our dedicated [Sentry SvelteKit SDK](https://github.com/getsentry/sentry-javascript/tree/develop/packages/sveltekit).
This SDK is currently in **Beta state**. Bugs and issues might still appear and we're still actively working
23
-
on the SDK. Also, we're still adding features.
24
-
If you experience problems or have feedback, please open a [GitHub Issue](https://github.com/getsentry/sentry-javascript/issues/new/choose).
25
16
26
17
## Compatibility
27
18
28
19
Currently, the minimum supported version of SvelteKit is `1.0.0`.
20
+
The SDK works best with Vite 4.2 and newer.
21
+
Older Vite versions might not generate source maps correctly.
29
22
30
23
## General
31
24
32
25
This package is a wrapper around `@sentry/node` for the server and `@sentry/svelte` for the client side, with added functionality related to SvelteKit.
33
26
34
-
## Setup
27
+
## Automatic Setup
28
+
29
+
We recommend installing the SDK by running the [Sentry wizard](https://docs.sentry.io/platforms/javascript/guides/sveltekit/#install) in the root directory of your project:
30
+
31
+
```sh
32
+
npx @sentry/wizard@latest -i sveltekit
33
+
```
34
+
35
+
Take a look at the sections below if you want to customize your SDK configuration.
36
+
37
+
## Manual Setup
38
+
39
+
If the setup through the wizard doesn't work for you, you can also set up the SDK manually.
0 commit comments