24 lines
531 B
TypeScript
24 lines
531 B
TypeScript
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",
|
|
"@storybook/addon-interactions",
|
|
],
|
|
framework: {
|
|
name: "@storybook/react-vite",
|
|
options: {
|
|
builder: {
|
|
viteConfigPath: "./vite-storybook.config.ts",
|
|
},
|
|
},
|
|
},
|
|
};
|
|
export default config;
|