main.ts 596 B

12345678910111213141516171819
  1. import type { StorybookConfig } from '@storybook/nextjs'
  2. const config: StorybookConfig = {
  3. // stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
  4. stories: ['../app/components/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
  5. addons: [
  6. '@storybook/addon-onboarding',
  7. '@storybook/addon-links',
  8. '@storybook/addon-essentials',
  9. '@chromatic-com/storybook',
  10. '@storybook/addon-interactions',
  11. ],
  12. framework: {
  13. name: '@storybook/nextjs',
  14. options: {},
  15. },
  16. staticDirs: ['../public'],
  17. }
  18. export default config