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
I have the same issue even after running npx @storybook/auto-config styling
Before I had:
{ name: '@storybook/addon-styling', options: { postCss: true } } And it's actually working well if I currently use it after the migration to Storybook v8.4.7
Then I run manually npx @storybook/auto-config styling and this is the config I got (it seems detects Tailwind but not css module config as I can see in the README)
And If I don't add any extra rule css modules are loading well, but I still missed the tailwind css, so any help is very appreciated at this stage.
Thanks in advance
The text was updated successfully, but these errors were encountered:
FranRom
changed the title
Unable to configure @storybook/addon-styling-webpack with css modules and Tailwind
[Bug] Unable to configure @storybook/addon-styling-webpack with css modules and Tailwind
Dec 16, 2024
Describe the bug
I have the same issue even after running npx @storybook/auto-config styling
Before I had:
{ name: '@storybook/addon-styling', options: { postCss: true } }
And it's actually working well if I currently use it after the migration to Storybook v8.4.7
Then I run manually
npx @storybook/auto-config styling
and this is the config I got (it seems detects Tailwind but not css module config as I can see in the README)The css modules are not loaded.
I try all the configs in the addon doc without luck...
I also added this config but still not working, the custom class is undefined:
And If I don't add any extra rule css modules are loading well, but I still missed the tailwind css, so any help is very appreciated at this stage.
Thanks in advance
The text was updated successfully, but these errors were encountered: