-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Tailwind v4 doesn't see classes in EJS templates #17940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
#17845 is about Tailwind v4 gradient CSS not compatible with v3 gradient CSS - I'm not sure what relevance it has to your question. Furthermore, could you elaborate on what you mean by "the list" please? You may also wish to review https://tailwindcss.com/docs/detecting-classes-in-source-files#which-files-are-scanned if you have not already done so. |
Thank you for the information about another problem. However, in my case, the class By "the list", I mean The file with |
Consider providing a git repo that reproduces the unexpected behavior, so that we can troubleshoot what the root cause may be. |
@wongjn as for now, I went back to v3. But I believe you have a list of extensions to be scanned, and |
Those extensions aren't the only files that are scanned. See https://tailwindcss.com/docs/detecting-classes-in-source-files#which-files-are-scanned for details. |
@iliakan Yeah these list is only there to generate default glob watchers for projects that have no files yet I believe, so adding it to that list will not change anything about |
Oh, good to know. The index.ejs was like |
Uh oh!
There was an error while loading. Please reload this page.
EJS template files aren't parsed.
There's no such extension
.ejs
in the list.It's like HTML, should we just add it?
The text was updated successfully, but these errors were encountered: