Closed Alperec closed 1 year ago
I updated nextjs to the latest version and decided to move on to storybook version 7, now after launch I get the error Cannot find module 'next/legacy/image'
main.ts
import type { StorybookConfig } from "@storybook/nextjs"; const config: StorybookConfig = { stories: [ "../stories/**/*.mdx", "../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)", ], addons: [ "@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-onboarding", "@storybook/addon-interactions"), ], framework: { name: "@storybook/nextjs", options: {}, }, docs: { autodocs: "tag", }, }; export default config;
This is the repository for Storybook docs. Please open an issue on https://github.com/storybookjs/storybook or drop by our discord: https://discord.gg/storybook
Details
I updated nextjs to the latest version and decided to move on to storybook version 7, now after launch I get the error Cannot find module 'next/legacy/image'
main.ts