This repo demonstrates how to setup storybook to run with the latest emotion inside nextjs project.
Deps:
- "@emotion/react": "^11.1.1",
- "@emotion/styled": "^11.0.0",
- "next": "10.0.3",
- "react": "17.0.1",
- "@storybook/react": "^6.1.7",
- "@emotion/babel-plugin": "^11.0.0",
You can see the full diff of changes to be applied in this commit: