2023-08-10 10:04:41 +00:00
|
|
|
import type { StorybookConfig } from '@storybook/react-vite'
|
2023-08-03 06:20:54 +00:00
|
|
|
|
|
|
|
const config: StorybookConfig = {
|
2023-08-10 10:04:41 +00:00
|
|
|
framework: '@storybook/react-vite',
|
|
|
|
|
|
|
|
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
2023-08-03 06:20:54 +00:00
|
|
|
addons: [
|
2023-08-10 10:04:41 +00:00
|
|
|
'@storybook/addon-links',
|
|
|
|
'@storybook/addon-essentials',
|
|
|
|
'@storybook/addon-interactions',
|
|
|
|
'storybook-addon-designs',
|
|
|
|
'storybook-dark-mode',
|
2023-08-21 07:22:37 +00:00
|
|
|
'storybook-addon-react-router-v6',
|
2023-08-03 06:20:54 +00:00
|
|
|
],
|
2023-08-10 10:04:41 +00:00
|
|
|
|
2023-08-03 06:20:54 +00:00
|
|
|
docs: {
|
2023-08-10 10:04:41 +00:00
|
|
|
autodocs: 'tag',
|
2023-08-03 06:20:54 +00:00
|
|
|
},
|
2023-08-10 10:04:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default config
|