/ld_svelte

Primary LanguageSvelte

ld_svelte

A simple example of switching the page's background color based on a flag's value from LaunchDarkly. The example uses LaunchDarkly's svelte SDK

To Run

  • Edit src/App.svelte such that:
    • Add Client SDK key
    • Change flag key to suit your environment
      • NOTE: The flag should be type:string as the background color is passed as value
  • Follow svelte setup instructions to complete setup

Vite.JS for frontend tooling -- frankly, overkill for this effort