Git Product home page Git Product logo

Comments (4)

skworden avatar skworden commented on May 23, 2024 1

FYI webpack-5 must be explicitly installed in packages for storybook to work with Next 11. Took me awhile to figure this out.

from create-next-stack.

skworden avatar skworden commented on May 23, 2024 1

Storybook has been really frustrating for me. Almost every time I install a package or update anything in my Next app it breaks storybook. I use Tailwind and haven't used Emotion so I'm not any help there.

With SASS enabled you have to also take extra steps to get it to compile correctly. I also use SVGs so have to configure it to work with them as well. But it always seems to break.

from create-next-stack.

akd-io avatar akd-io commented on May 23, 2024

FYI webpack-5 must be explicitly installed in packages for storybook to work with Next 11. Took me awhile to figure this out.

Thanks a lot! ❤️

I know Storybook doesn't support Emotion 11 yet and needs a hack also, so this issue is going to be interesting for sure.

from create-next-stack.

akd-io avatar akd-io commented on May 23, 2024

Yea, Storybook is not too easy. Maybe I'll add support for one styling method at a time, and leave some styling method-storybook combinations locked until it's implemented. We'll see where it ends up.

I think that's going to be the main problem with this project as well. It adds the most value when the setup is hard, so the difficulty of maintaining the project is going to scale more or less linearly with the value provided to users 😊

from create-next-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.