fix: update stories path

This commit is contained in:
Derrick Hammer 2023-10-09 02:42:03 -04:00
parent 0551582887
commit a04917449e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 8 additions and 9 deletions

View File

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