Storybook 7(rc8) with Tailwind #21793
Unanswered
RafalFilipek
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
I'm having trouble setting up Tailwind with
@storybook/nextjs
. I followed the documentation and have configured the Tailwind config, but it appears that the styles are not being applied when I have the lineimport "./styles.css";
in my preview.ts file.However, I found that the issue can be resolved by changing the import statement to
This appears to be a problem with tree shaking or some similar issue.
Could you please suggest a solution to resolve this issue? Thank you.
My env:
Beta Was this translation helpful? Give feedback.
All reactions