Up and running Storybook with Next.js

Create a Next.js project

Let’s start by creating a Next.js app if you don’t have one already. Otherwise, skip to the setting up storybook step.

npx create-next-app nextjs-storybook

Setup Storybook

Now we can create a new Storybook setup inside a Next.js project using the sb init script. For…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store