Storybook compatibility with Gatsby, CSS Modules, TailwindCSS, and AntD #17211
Unanswered
do-kevin
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Many issues cropped up when I tried to get Storybook working in Gatsby with TailwindCSS and AntD. There were errors about style injection, CSS modules not working, unknown words, and unrecognized CSS syntax. I am sharing this for whoever else has the same/similar setup and especially for myself. So here's what I had to resolve my issues. There's probably still some fine-tuning I will have to do.
.storybook/main.js
.storybook/preview.js
Beta Was this translation helpful? Give feedback.
All reactions