Using Spotlight with SvelteKit
This guide gets Spotlight up and running in SvelteKit with Sentry. You don’t strictly need Sentry for Spotlight to work but we highly recommend it.
1. Installation
Install Sentry
Follow the Sveltekit Getting Started guide to install and configure Sentry.
Install Spotlight
Install the Spotlight package:
2. Configuration
Initialize Spotlight after Sentry and start the Sidecar on the server. Just add a little code to your SvelteKit hooks files:
That’s it! Check out the Configuration to further customize Spotlight.