2024-08-20 13:57:58 +00:00
|
|
|
import type { StorybookConfig } from "@storybook/react-vite";
|
|
|
|
|
|
|
|
const config: StorybookConfig = {
|
|
|
|
stories: [
|
|
|
|
"../stories/**/*.mdx",
|
|
|
|
"../stories/**/*.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/react-vite",
|
2024-08-21 15:14:40 +00:00
|
|
|
options: {
|
|
|
|
builder: {
|
|
|
|
viteConfigPath: "./vite-storybook.config.ts",
|
|
|
|
},
|
|
|
|
},
|
2024-08-20 13:57:58 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
export default config;
|