Opt in to Runes Mode

Last updated: Tuesday, November 12, 2024

To opt-in on a project wide level add the following to your svelte.config.js

  compilerOptions: {
    runes: true,
  }

To opt-in on a per-component basis add the following tag to any component

<svelte:options runes={true} />

To opt-out on a per-component basis add the following tag to any component

<svelte:options runes={false} />