Integrate Twin + Next.js + Emotion with App Router #826
Replies: 1 comment 9 replies
-
Hi there /** @jsxImportSource @emotion/react */ and remove the @babel/preset-react plugin that defines the pragma. Ideally I'd like to avoid the pragma at the top of each file but that's the only solution I've found so far. It's early days on this and I don't have instructions yet, but here's the changes to upgrade from the pages dir to the app dir. Let me know if you encounter any issues. |
Beta Was this translation helpful? Give feedback.
9 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hello community, I just wanted to ask how to use Twin + Next.js + Emotion in a next js app bur when I am using the app router. The documentations available are destinated for the Pages Router. Please can any one help me
Beta Was this translation helpful? Give feedback.
All reactions