-
-
Notifications
You must be signed in to change notification settings - Fork 48
Tailwind being installed even if I didn't selected it in the CLI #85
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
Yeah, for sure that's a bug. The issue is that the demo pages for some of these add-ons (clerk, start, tanstack-query) all assume Tailwind for formatting. So there are two ways to go that I can think of:
I don't think it's reasonable to expect that we would have two different flavors of demo pages based on Tailwind vs not Tailwind. |
@jherr Why is that? I started another project using the CLI last week with the same options and with the demo pages and I didn't had this problem. It must be something that changed recently. |
I dunno, |
I would go with option 2 (prompting if the user wants demo pages). Not everyone needs or wants the demo pages, especially when it's not the first time using the tool. Prompting for demo pages makes the setup more transparent, and it's a good way to explain why Tailwind might be added. That way, if someone chooses not to install Tailwind but opts in to demo pages, it won’t be surprising to see Tailwind included — it'll be clearly explained during the prompt. (Edit: I've opened a PR implementing something similar to option 1, because Tailwind is actually enforced not only by selecting add-ons but also by other options, and the solution seems a bit more complex) |
Which project does this relate to?
Create Tanstack App
Describe the bug
Tailwind is being installed and configured even if I didn't selected it in the CLI:

cta.json content:
Steps to Reproduce the Bug or Issue
Expected behavior
I expected the CLI to respect my selections.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: