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-essentials",
|
|
|
|
"@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;
|