34 lines
801 B
TypeScript
Raw Normal View History

2022-10-13 01:38:11 +02:00
import type { StorybookConfig } from '../../frameworks/react-vite/dist';
2022-10-12 23:13:59 +02:00
const config: StorybookConfig = {
stories: [
2022-10-17 11:20:51 +02:00
{
2022-10-24 14:21:28 +02:00
directory: '../manager/src',
2022-10-25 07:39:18 +02:00
// these titles uses a special unicode character for the slash as a workaround for https://github.com/storybookjs/storybook/issues/9761
2022-10-24 15:03:30 +02:00
titlePrefix: '@storybookui',
2022-10-17 11:20:51 +02:00
},
{
2022-10-24 14:21:28 +02:00
directory: '../components/src',
2022-10-24 15:03:30 +02:00
titlePrefix: '@storybookcomponents',
2022-10-17 11:20:51 +02:00
},
2022-10-24 14:21:28 +02:00
{
directory: '../blocks/src',
2022-10-24 15:03:30 +02:00
titlePrefix: '@storybookblocks',
2022-10-24 14:21:28 +02:00
},
2022-10-12 23:13:59 +02:00
],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
],
framework: {
name: '@storybook/react-vite',
options: {},
},
2022-10-24 13:26:23 +02:00
core: {
disableTelemetry: true,
},
2022-10-12 23:13:59 +02:00
};
export default config;