mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-04 04:07:47 +08:00
20 lines
596 B
TypeScript
20 lines
596 B
TypeScript
import type { StorybookConfig } from '@storybook/nextjs'
|
|
|
|
const config: StorybookConfig = {
|
|
// stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
stories: ['../app/components/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
addons: [
|
|
'@storybook/addon-onboarding',
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
'@chromatic-com/storybook',
|
|
'@storybook/addon-interactions',
|
|
],
|
|
framework: {
|
|
name: '@storybook/nextjs',
|
|
options: {},
|
|
},
|
|
staticDirs: ['../public'],
|
|
}
|
|
export default config
|