21 lines
490 B
TypeScript
21 lines
490 B
TypeScript
|
import type { StorybookConfig } from "@storybook/react-vite"
|
||
|
import { resolve } from "node:path"
|
||
|
|
||
|
const config: StorybookConfig = {
|
||
|
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
||
|
addons: [
|
||
|
"@storybook/addon-links",
|
||
|
"@storybook/addon-essentials",
|
||
|
"@storybook/addon-onboarding",
|
||
|
"@storybook/addon-interactions"
|
||
|
],
|
||
|
framework: {
|
||
|
name: "@storybook/react-vite",
|
||
|
options: {}
|
||
|
},
|
||
|
docs: {
|
||
|
autodocs: "tag"
|
||
|
}
|
||
|
}
|
||
|
export default config
|