You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set content in tailwind.config.js to a non-array as described in the Tailwind docs.
What is Expected?
The absence of errors.
What is actually happening?
Cannot start nuxt: (tailwindConfig.content || []).map is not a function.
Additional Commentary
You cannot assume that tailwindConfig.content is an array. It can also be an object. In the event that tailwindConfig.content is an object, you want to derive the list of files from tailwindConfig.content.files.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Set
content
intailwind.config.js
to a non-array as described in the Tailwind docs.What is Expected?
The absence of errors.
What is actually happening?
Cannot start nuxt: (tailwindConfig.content || []).map is not a function
.Additional Commentary
You cannot assume that
tailwindConfig.content
is an array. It can also be an object. In the event thattailwindConfig.content
is an object, you want to derive the list of files fromtailwindConfig.content.files
.The text was updated successfully, but these errors were encountered: