Skip to content

Commit

Permalink
fix storybook (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
choden-dev authored Jul 12, 2024
1 parent 14f0441 commit 9d5873e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion client/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { StorybookConfig } from "@storybook/nextjs"
import path from "path"

const config: StorybookConfig = {
stories: ["../src/**/*.story.@(js|jsx|ts|tsx)", "../src/**/*.story.mdx"],
Expand All @@ -7,8 +8,12 @@ const config: StorybookConfig = {
"@storybook/addon-essentials",
"@storybook/addon-interactions"
],
// https://github.com/storybookjs/storybook/issues/21216#issuecomment-1513894759
framework: {
name: "@storybook/nextjs",
name: path.resolve(
require.resolve("@storybook/nextjs/preset"),
".."
) as any,
options: {}
},
docs: {
Expand Down

0 comments on commit 9d5873e

Please sign in to comment.