mirror of
https://github.com/ershisan99/next-storybook.git
synced 2025-12-16 20:59:25 +00:00
27 lines
582 B
TypeScript
27 lines
582 B
TypeScript
import type { StorybookConfig } from "@storybook/nextjs";
|
|
|
|
const config: StorybookConfig = {
|
|
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
|
|
addons: [
|
|
"@storybook/addon-links",
|
|
"@storybook/addon-essentials",
|
|
"@storybook/addon-interactions",
|
|
{
|
|
name: "@storybook/addon-postcss",
|
|
options: {
|
|
postcssLoaderOptions: {
|
|
implementation: require("postcss"),
|
|
},
|
|
},
|
|
},
|
|
],
|
|
framework: {
|
|
name: "@storybook/nextjs",
|
|
options: {},
|
|
},
|
|
docs: {
|
|
autodocs: "tag",
|
|
},
|
|
};
|
|
export default config;
|