fix: update stories path
This commit is contained in:
parent
0551582887
commit
a04917449e
|
@ -1,20 +1,19 @@
|
||||||
import type { StorybookConfig } from "@storybook/react-vite"
|
import type { StorybookConfig } from "@storybook/react-vite";
|
||||||
import { resolve } from "node:path"
|
|
||||||
|
|
||||||
const config: StorybookConfig = {
|
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: [
|
addons: [
|
||||||
"@storybook/addon-links",
|
"@storybook/addon-links",
|
||||||
"@storybook/addon-essentials",
|
"@storybook/addon-essentials",
|
||||||
"@storybook/addon-onboarding",
|
"@storybook/addon-onboarding",
|
||||||
"@storybook/addon-interactions"
|
"@storybook/addon-interactions",
|
||||||
],
|
],
|
||||||
framework: {
|
framework: {
|
||||||
name: "@storybook/react-vite",
|
name: "@storybook/react-vite",
|
||||||
options: {}
|
options: {},
|
||||||
},
|
},
|
||||||
docs: {
|
docs: {
|
||||||
autodocs: "tag"
|
autodocs: "tag",
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
export default config
|
export default config;
|
||||||
|
|
Loading…
Reference in New Issue