twin.macro: object null is not iterable #796
-
I'm getting the following error after adding custom theme config to tailwind.config.js. Here's the the repo for reproduction. https://github.com/vutpov/test-next |
Beta Was this translation helpful? Give feedback.
Answered by
ben-rogerson
Apr 14, 2023
Replies: 1 comment
-
Thanks for providing a repo to test. The problem is the screen definition - you'll need define the screens as strings (the order of these matter too): module.exports = {
theme: {
screens: {
xs: "480px",
sm: "768px",
md: "1024px",
lg: "1280px",
xl: "1440px",
},
},
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vutpov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for providing a repo to test.
The problem is the screen definition - you'll need define the screens as strings (the order of these matter too):