storybook/docs/snippets/svelte/sveltekit-add-framework.ts.mdx
2024-03-11 14:03:12 -06:00

13 lines
256 B
Plaintext

```ts
// .storybook/main.ts
import { StorybookConfig } from '@storybook/nextjs';
const config: StorybookConfig = {
// ...
framework: '@storybook/sveltekit', // 👈 Add this
// svelteOptions: { ... }, 👈 Remove this
};
export default config;
```