From f9b194440b4170d3fe7f9403909e4901c27d2a51 Mon Sep 17 00:00:00 2001 From: Fabian Schindler Date: Mon, 31 Mar 2025 14:48:39 +0200 Subject: [PATCH] feat(svelte): additional switch for v5/v4 --- docs/platforms/javascript/guides/svelte/index.mdx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/platforms/javascript/guides/svelte/index.mdx b/docs/platforms/javascript/guides/svelte/index.mdx index 502a1d4fe86d1..6667388908d8a 100644 --- a/docs/platforms/javascript/guides/svelte/index.mdx +++ b/docs/platforms/javascript/guides/svelte/index.mdx @@ -131,7 +131,18 @@ Once you've done this, the SDK will automatically capture unhandled errors and p This snippet includes an intentional error, so you can test that everything is working as soon as you set it up. -```jsx {tabTitle:Svelte} {filename:SomeCmponent.svelte} +```jsx {tabTitle:Svelte v5+} {filename:SomeCmponent.svelte} + +``` + +```jsx {tabTitle:Svelte v3/v4} {filename:SomeCmponent.svelte}