twin.examples
twin.examples copied to clipboard
Some changes to make the storybook-emotion-example work
- 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
Tnx @ben-rogerson for giving me the urgently needed hints and features to make storybook work again with newest tailwind/emotion!