Closed adamerose closed 1 year ago
I remember adding that strange empty.js
file in CodeSandbox too.
Btw none of that nonsense since moving the default twin example to StackBlitz 🤌
In CodeSandbox the default template uses react-scripts
aka create-react-app
so check out either emotion setup instructions. or styled-components setup instructions..
What steps are needed to get
twin.macro
working with the default CodeSandbox React template?What I tried was:
twin.macro
andtailwindcss
as dependenciesempty.js
in the project root as described here https://github.com/ben-rogerson/twin.macro/issues/9#issuecomment-593142991, and refresh the pageTranspiling Modules...