styled components configuration #14129
Unanswered
lev-savranskiy
asked this question in
Help
Replies: 1 comment 1 reply
-
Hi Lev, I see that you already installed the Styled Components package:
That is a good start. Now, you need to install the Babel plug-in for Styled Components:
Then in the root of your project, create a
I don't understand everything I am doing here with Babel, but this worked for me. I read about this configuration here |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI! i am new to Storybook. Ran the demo fine today.
When i try to add our own styled component used in gatsby project - i am getting an error in sb run.
I obviously miss styled or sass loader.
Can you please give me an idea what has to be done?
main.js
package.json
Beta Was this translation helpful? Give feedback.
All reactions