mirror of https://github.com/langgenius/dify.git
22 lines
556 B
TypeScript
22 lines
556 B
TypeScript
import type { StorybookConfig } from '@storybook/nextjs-vite'
|
|
|
|
const config: StorybookConfig = {
|
|
stories: ['../app/components/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
addons: [
|
|
// Not working with Storybook Vite framework
|
|
// '@storybook/addon-onboarding',
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-docs',
|
|
'@chromatic-com/storybook',
|
|
],
|
|
framework: '@storybook/nextjs-vite',
|
|
staticDirs: ['../public'],
|
|
core: {
|
|
disableWhatsNewNotifications: true,
|
|
},
|
|
docs: {
|
|
defaultName: 'Documentation',
|
|
},
|
|
}
|
|
export default config
|