twin.examples icon indicating copy to clipboard operation
twin.examples copied to clipboard

Some changes to make the storybook-emotion-example work

Open dictyo opened this issue 2 years ago • 1 comments

  • added React-import in GlobalStyles.tsx
  • imported the created GlobalStyles.tsx instead of the twig-one
  • changed main.js to use Webpack5 and added storybook-deps required for WebPack5
  • changed main.js to enable use of Emotion>=11
  • added/modified Babel-config for the example to work
  • added some h1-Example to show baseCss-feature
  • added lacking dep for @emotion/cache

dictyo avatar Feb 20 '22 18:02 dictyo

Tnx @ben-rogerson for giving me the urgently needed hints and features to make storybook work again with newest tailwind/emotion!

dictyo avatar Feb 20 '22 18:02 dictyo