diff options
author | Pauline <git@ethanlibs.co> | 2023-10-15 01:01:28 -0400 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-10-15 01:01:28 -0400 |
commit | 5b04166cd02bd7a7aa18e586fff75911d53011b6 (patch) | |
tree | 5d05b335d8cb9d99d93e538b3029ac12fdab2a16 /apps/storybook/.storybook/main.ts | |
parent | 2582162cea2b3a59cd21c78f8b73cb03d0acad40 (diff) | |
download | Nexus-5b04166cd02bd7a7aa18e586fff75911d53011b6.tar.gz Nexus-5b04166cd02bd7a7aa18e586fff75911d53011b6.tar.bz2 Nexus-5b04166cd02bd7a7aa18e586fff75911d53011b6.zip |
feature(storybook) init storybook framework
Diffstat (limited to 'apps/storybook/.storybook/main.ts')
-rw-r--r-- | apps/storybook/.storybook/main.ts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/apps/storybook/.storybook/main.ts b/apps/storybook/.storybook/main.ts new file mode 100644 index 0000000..9a50fb5 --- /dev/null +++ b/apps/storybook/.storybook/main.ts @@ -0,0 +1,34 @@ +import type { StorybookConfig } from '@storybook/react-vite'; + +const config: StorybookConfig = { + stories: [ + { + directory: '../../../packages/ui/src/**', + titlePrefix: 'UI', + files: '*.stories.*' + }, + { + directory: '../../../interface/app/**', + titlePrefix: 'Interface', + files: '*.stories.*' + } + ], + addons: [ + '@storybook/addon-links', + '@storybook/addon-essentials', + '@storybook/addon-interactions', + '@storybook/addon-styling' + ], + framework: { + name: '@storybook/react-vite', + options: {} + }, + docs: { + autodocs: 'tag' + }, + core: { + disableTelemetry: true + } +}; + +export default config; |