Open TheBenevolentJoker opened 3 months ago
facing the same issue. @TheBenevolentJoker any news here?
Same issue here. I have imported the my Tailwind css file and I can see the css variables from the file (e.g. --background
) being applied, but none of the actual Tailwind classes are being compiled.
Does anyone have a solution?
Describe the bug
I've set up a Next.js application and initiated Storybook using the command npx storybook@latest init. The setup completed without issues, and the Storybook environment started successfully with npm run storybook.
Following the Tailwind CSS integration guide, I attempted to import the global.css file into the preview.tsx file as suggested.
Upon navigating to Storybook, I noticed that none of the Tailwind CSS styles were applied. I conducted a thorough search for a stylesheet that might contain the Tailwind class names, but my efforts were fruitless.
Reproduction link
n/a
Reproduction steps
System