2023-03-01
1511
#nextjs
Elijah Asaolu
161229
109
Mar 1, 2023 ⋅ 5 min read

Building a Next.js app using Tailwind and Storybook

Elijah Asaolu I am a programmer, I have a life.

Recent posts:

Using ElectricSQL to build a local-first application

ElectricSQL is a cool piece of software with immense potential. It gives developers the ability to build a true local-first application.

Rahul Padalkar
Dec 1, 2023 ⋅ 11 min read
Using Rust And Leptos To Build Beautiful Declarative User Interfaces

Using Rust and Leptos to build beautiful, declarative UIs

Leptos is an amazing Rust web frontend framework that makes it easier to build scalable, performant apps with beautiful, declarative UIs.

Eze Sunday
Nov 30, 2023 ⋅ 10 min read
5 Best JavaScript Multi-Dimensional Array Libraries

5 best JavaScript multidimensional array libraries

Learn more about the 5 best JavaScript libraries for dealing with multidimensional arrays, such as ndarray, math.js, and NumJs.

Pascal Akunne
Nov 30, 2023 ⋅ 4 min read
Dom Scandinaro Leader Spotlight

Leader Spotlight: Leading by experience with Dom Scandinaro

We spoke with Dom about his approach to balancing innovation with handling tech debt and to learn how he stays current with technology.

Jessica Srinivas
Nov 30, 2023 ⋅ 6 min read
View all posts

4 Replies to "Building a Next.js app using Tailwind and Storybook"

  1. Hi Elijah!

    My name is Valentin and I am one of the Storybook maintainers! 🖖

    I‘ve just read your article and it is amazing! Thank you so much for wrapping up, how to use Storybook with Next.js and Tailwind in Storybook 6.5!

    Did you know that the Storybook v7.0 release is around the corner? Check out the beta right now! It has improved the support for Next.js tremendously by even supporting Next.js components like ‘next/image‘ or local and Google fonts from ‘next/font’!

    If you want to write another article for Storybook 7 or you even want to update this one, I would be happy to help. Reach out if you want on the Storybook Discord Channel!

  2. Thanks !! I was struggling to install storybook in my next js + Tailwind app and this article really helped me to achieve it !

    Great work 🙂

  3. When trying to update the ‘.stories/preview.js’ file, I am getting an error on the tag and all tailwind css are not applied in the storybook
    Any help?

Leave a Reply