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
What version of Tailwind CSS are you using?
v3.0.1
What build tool (or framework if it abstracts the build tool) are you using?
Vite 2.6.10
Postcss 8.3.11
What version of Node.js are you using?
v14.6.X
What operating system are you using?
MacOS
Describe your issue
So, I have a React + TypeScript project, this morning I moved into Tailwind v3 and changed purge to content. My surprise came when classes disappeared. Felt like Tailwind was not parsing the files in search for the classNames.
First, ALL my classes are inside .tsx files.
This is my config file that does not work (And did work prior to v3):
This is the config file that DOES work:
For content to work as before, It must have more than one extension, it does not matter which, but must be more than one, see this example, this also works:
Seems like a big bug to me.
The text was updated successfully, but these errors were encountered:
What version of Tailwind CSS are you using?
v3.0.1
What build tool (or framework if it abstracts the build tool) are you using?
Vite 2.6.10
Postcss 8.3.11
What version of Node.js are you using?
v14.6.X
What operating system are you using?
MacOS
Describe your issue
So, I have a React + TypeScript project, this morning I moved into Tailwind v3 and changed purge to content. My surprise came when classes disappeared. Felt like Tailwind was not parsing the files in search for the classNames.
First, ALL my classes are inside
.tsx
files.This is my config file that does not work (And did work prior to v3):
This is the config file that DOES work:
For
content
to work as before, It must have more than one extension, it does not matter which, but must be more than one, see this example, this also works:Seems like a big bug to me.
The text was updated successfully, but these errors were encountered: