Replies: 1 comment
-
I also cant get this to work but with CSS (SASS) modules. There needs to be some example of implementing this. It works fine on the normal Next.js app but tailwind fails to load in Storybook. Using the normal class names without the @apply works fine though. So it appears to be some config setup in storybook? I've looked online but without any luck :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there. Can you, please 🙏 , help me. I have a nextjs app with tailwindcss.
I use tailwind
@apply
directive in styled jsx:When I build the app or use
npm run dev
it works. It renders:But when I run storybook it renders:
Here are the config files I use:
Do you have any idea what might be the cause? I couldn't find anything similar on google.
Beta Was this translation helpful? Give feedback.
All reactions