You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to confirm, you added "./stories/**/*.{js,ts,jsx,tsx}" to the tailwind.config.js file?
I'm not super familiar with Tailwind myself, could you tell me a bit about why that line is needed. Story files don't typically have CSS in them. They import the component itself (which has CSS). So I wouldn't think to have Tailwind look at story files. (I'm probably missing something though!)
Details
Recipe Page: tailwindcss
Recipe Template: tailwindcss
What is wrong
You MUST add this to the tailwind config in NEXTjs 14 with tailwind implementation:
otherwise tailwind will NOT work in storybook. Took me 2 days to figure this out. Almost stopped trying to use Storybook.
The text was updated successfully, but these errors were encountered: