Skip to content
Discussion options

You must be logged in to vote

Found the solution here https://storybook.js.org/blog/integrate-nextjs-and-storybook-automatically/ under next/navigation

Needed to add the following parameter to the stories of components using next/navigation

export const Example = {
  parameters: {
    nextjs: {
      appDirectory: true,
    },
  },
};

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rkrishnasanka
Comment options

@JesseKuntz
Comment options

@giovannivocale-molar
Comment options

@Afek-Sakaju
Comment options

Answer selected by gvocale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants