Loading Tailwind config into Storybook in a monorepo structure #25412
Replies: 5 comments
-
I tried using a tailwind preset but still the same problem |
Beta Was this translation helpful? Give feedback.
-
This issue might be related to it #19041 |
Beta Was this translation helpful? Give feedback.
-
This issue might also be related to it #20616 |
Beta Was this translation helpful? Give feedback.
-
This issue #15971 could also be related although a few years old |
Beta Was this translation helpful? Give feedback.
-
Having the same issue. did you find a way to make it work? |
Beta Was this translation helpful? Give feedback.
-
Summary
Hi all,
My team is migrating our UI kit library to a monorepo structure (here)
The current structure of the mono repo as like this:
I'm testing around and when I change
--radius
in/packages/components/styles.css
the border-radius changes in the components displayed in the storybooks, which is a good sign. But there are other things from the tailwind config not working inside storybook, the ones I can tell are:Is this possibly a tailwind issue or a storybook issue?
Any help is appreciated 🌹
Additional information
The
packages/storybook/.storybook/main.ts
is:Create a reproduction
https://github.com/sikka-software/Hawa/tree/monorepo
Beta Was this translation helpful? Give feedback.
All reactions