Skip to content

tailwind .pages folder error #17569

Closed
@jullic

Description

@jullic

What version of Tailwind CSS are you using?

v4.1.1

What build tool (or framework if it abstracts the build tool) are you using?

Vite 6.2.0

What version of Node.js are you using?

v20.18.1

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction URL

https://github.com/jullic/tailwind-.work-folder-error-

Describe your issue

I'm using vite.
tailwind version 4.1.1

If the name of the folder where the components are located ends with “.pages”, then the utility classes used in the components in that folder are not applied.

I spent several hours trying to figure out what the problem might be, but I haven't figured it out yet, maybe there are some other patterns in which utility classes are not applied.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions