1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-24 01:18:01 +02:00
unleash.unleash/frontend/src/component/onboarding/dialog/snippets/svelte.md
Jaanus Sellin 4397af0df7
chore: move onboarding flow and dialog under same location (#8272)
It is mostly moving the onboarding folders under same directory for more
clear project structure.
2024-09-26 12:56:49 +03:00

429 B

1. Install the SDK

npm install @unleash/proxy-client-svelte

2. Initialize Unleash

<script lang="ts">
    import { FlagProvider } from '@unleash/proxy-client-svelte';

    const config = {
        url: '<YOUR_API_URL>',
        clientKey: '<YOUR_API_TOKEN>',
        refreshInterval: 15,
        appName: 'unleash-onboarding-svelte'
    };
</script>

<FlagProvider {config}>
    <App />
</FlagProvider>