This is a test setup for an Issue I created on the Tailwind v4 repository. See: tailwindlabs/tailwindcss#16970
This setup actually proves that the issue is not with Tailwind, but probably somewhere in my own setup.
I've created two folders in src
: application-project
and components-project
.
Both projects have Tailwind v4 CLI installed.
In the application-project
I've intentionally removed all sources so that Tailwind doesn't pick up the example styles.
In the components-project
I have a component-example.html
where a single style is defined (text-center
).
The application.html
file in the application-project
includes both the components.css
and application.css
files, in that order. My suspiscion was that the last file would reset the styles of the previous files. But that is actually not the case.