storybook/docs/_snippets/sveltekit-add-framework.md
2024-11-21 12:03:39 +00:00

501 B

export default {
  // ...
  framework: '@storybook/sveltekit', // 👈 Add this
  // svelteOptions: { ... }, 👈 Remove this
};
import { StorybookConfig } from '@storybook/sveltekit';

const config: StorybookConfig = {
  // ...
  framework: '@storybook/sveltekit', // 👈 Add this
  // svelteOptions: { ... }, 👈 Remove this
};

export default config;