-
Notifications
You must be signed in to change notification settings - Fork 4
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
Protocol: CSS is broken #1669
Comments
Hey! I can't seem to reproduce this, just cloned the whole thing down and ran the same steps and this is what I get: ![]() Are there any errors in the terminal or the browser console or anything like that that could give us a clue as to what's going wrong? Having a hard time thinking what the issue would be here 🤔 Do you mind zipping up your copy of the project after everything was installed and emailing to us at [email protected] so we can take a look? |
Nope, I don't see anything out of the ordinary in the browser or server logs, or the network tab. I will send you my zip |
So, I think you're bumping into an issue with the automatic content detection in Tailwind CSS v4.0 (see tailwindlabs/tailwindcss#15941). This has been fixed, so start by updating to the latest version of Tailwind CSS (version 4.0.3): npm install tailwindcss@latest That said, you might still run into issues. The way that the automatic content detection works is by scanning the current repository for a However, if you aren't in an initialized Git repo, Tailwind automatically scans all parent directories for The simple solution in this case is to just run I suspect that might be part of the problem here, as when you follow the steps in the template's README there is no Git repo initialized. Mind giving those two steps a try and see if it fixes the issue for you? 🙏 |
Hey! Just following up on this issue. I've just updated all the Tailwind UI templates to include an empty Going to close this issue since this should resolve things for you, but please let us know if you have any further trouble! Thanks for bringing this to our attention! 🤙 |
What component (if applicable)
Describe the bug
On a fresh install of the template, there appears to be no CSS for
protocol-ts
.To Reproduce
Steps to reproduce the behavior:
protocol-ts
npm install
npm run dev
Expected behavior
I expect the page to look like the screenshots and the live preview on the Tailwind UI site.
Screenshots
![Image](https://private-user-images.githubusercontent.com/102282561/411293712-a3c5c02b-2eb7-4751-9afe-44d872513104.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDMwOTQsIm5iZiI6MTczOTY0Mjc5NCwicGF0aCI6Ii8xMDIyODI1NjEvNDExMjkzNzEyLWEzYzVjMDJiLTJlYjctNDc1MS05YWZlLTQ0ZDg3MjUxMzEwNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxODA2MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNTcwZGQxZmIxNTQ1YWRjZWE3NTU4YWM4ZjllMDU0ODgxZGI0YmQyZjZlZjNmYjk3NGUxMzdlOGJjNWUyOWJjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.G9d8ppGymbYX4Qa__sUJ_cpftPGjrVpMD35lG_Z8vG4)
Browser/Device (if applicable)
The text was updated successfully, but these errors were encountered: