Skip to Content
v1.29.0 · shipped Own analytics id., Refused batches are not replayed forever. 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