storybook/docs/_snippets/preact-vite-add-framework.md
2025-01-31 17:39:23 +00:00

541 B

export default {
  // ...
  // framework: '@storybook/preact-webpack5', 👈 Remove this
  framework: '@storybook/preact-vite', // 👈 Add this
};
import { StorybookConfig } from '@storybook/preact-vite';

const config: StorybookConfig = {
  // ...
  // framework: '@storybook/preact-webpack5', 👈 Remove this
  framework: '@storybook/preact-vite', // 👈 Add this
};

export default config;