mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-29 17:58:19 +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
|