Skip to content

Commit

Permalink
minor sveltekit docs adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Dec 1, 2023
1 parent 68ec4a9 commit 5b8ed30
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/website/src/content/docs/setup/sveltekit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ description: A guide how to setup Spotlight for SvelteKit
import { Content as InstallCommand } from '../../../components/InstallCommand.mdx';
import { Tabs, TabItem } from '@astrojs/starlight/components';

This guide gets Spotlight up and running in SvelteKit with Sentry.
You don't strictly need Sentry for Spotlight to work, we highly recommend it.

## Install Sentry

Follow the [Sveltekit Getting Started](https://docs.sentry.io/platforms/javascript/guides/sveltekit/) guide on Sentry, and continue from there.
Follow the [Sveltekit Getting Started](https://docs.sentry.io/platforms/javascript/guides/sveltekit/) guide on Sentry to install and configure Sentry.

## Install Spotlight

Install the Spotlight package:

<InstallCommand/>

Initialize Spotlight after Sentry and start the Sidecar on the server. Just add a little code to your [SvelteKit hooks](https://kit.svelte.dev/docs/hooks) files:
Expand Down

0 comments on commit 5b8ed30

Please sign in to comment.