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
When just running my project I don't have this problem, but when I use storybook, I get the following error: Component selectors can only be used in conjunction with babel-plugin-emotion.
I tried installing this emotion-ts-plugin and add it to my storybook webpack like this:
When just running my project I don't have this problem, but when I use storybook, I get the following error:
Component selectors can only be used in conjunction with babel-plugin-emotion.
I tried installing this
emotion-ts-plugin
and add it to my storybook webpack like this:Alsoo tried adding it. to my tsconfig like this:
but I still get the same error when Storybook tries to render a component which uses
Component selectors
Also see related SO question: https://stackoverflow.com/questions/61781954/how-to-use-babel-emotion-plugin-with-storybook-typescript
The text was updated successfully, but these errors were encountered: