Skip to Content
v1.27.1 · shipped Global XHR capture, Hash-router inventory Read the changelog →

Svelte quickstart

Same loop as React — swap the install and boot call.

pnpm add @mushi-mushi/svelte
import { initMushi } from '@mushi-mushi/svelte' initMushi({ projectId: import.meta.env.VITE_MUSHI_PROJECT_ID, apiKey: import.meta.env.VITE_MUSHI_API_KEY, })

Call initMushi from hooks.client.ts or a top-level +layout.svelte onMount.

API detail: @mushi-mushi/svelte. Widget behavior: @mushi-mushi/web.

Last updated on