Title: Bug: Tailwind CSS installed despite selecting "No" in CLI prompt · Issue #279 · TanStack/cli · GitHub
Open Graph Title: Bug: Tailwind CSS installed despite selecting "No" in CLI prompt · Issue #279 · TanStack/cli
X Title: Bug: Tailwind CSS installed despite selecting "No" in CLI prompt · Issue #279 · TanStack/cli
Description: Which project does this relate to? Create Tanstack App Describe the bug Whn running pnpm create @tanstack/start@latest, if I select "No" for the Tailwind CSS prompt, the CLI still installs Tailwind dependencies and adds the Tailwind plug...
Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug Whn running pnpm create @tanstack/start@latest, if I select "No" for the Tailwind CSS prompt, the CLI still installs Tailwind...
X Description: Which project does this relate to? Create Tanstack App Describe the bug Whn running pnpm create @tanstack/start@latest, if I select "No" for the Tailwind CSS prompt, the CLI still install...
Opengraph URL: https://github.com/TanStack/cli/issues/279
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: Tailwind CSS installed despite selecting \"No\" in CLI prompt","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nWhn running pnpm create @tanstack/start@latest, if I select \"No\" for the Tailwind CSS prompt, the CLI still installs Tailwind dependencies and adds the Tailwind plugin to vite.config.ts.\n\nduplicate:\n- #270\n- #257\n- #242\n- #85 \n\nThis issue has been reported multiple times but appears to still be unresolved. I'd like to help fix this if confirmed as a bug.\n\n### Your Example Website or App\n\n.\n\n### Steps to Reproduce the Bug or Issue\n\n## Steps to Resproduce\n\n1. Run the following command:\n ```bash\npnpm create @tanstack/start@latest\n```\n2. Select these options:\n ```bash\n- Project name: `your-project-name`\n- Tailwind CSS: No // Key selection\n- Toolchain: ESLint\n- Deployment adapter: Nitro\n- Add-ons: Query\n- Examples: none\n```\n3. Check the generated files:\n ```bash\ncd your-project-name\ncat package.json | grep tailwind\ncat vite.config.ts | grep tailwind\n```\n\n**Actual Result:**\nDespite selecting \"No\", Tailwind dependencies are still present:\n\n**package.json:**\n```json\n\"dependencies\": {\n \"@tailwindcss/vite\": \"^4.0.6\",\n \"tailwindcss\": \"^4.0.6\"\n}\n```\n\n**vite.config.ts:**\n```typescript\nimport tailwindcss from '@tailwindcss/vite'\n\nexport default defineConfig({\n plugins: [\n tailwindcss(), // Should not be here\n ],\n})\n```\n\n### Expected behavior\n\nWhen selecting \"No\" for Tailwind CSS:\n- `@tailwindcss/vite` and `tailwindcss` should NOT be in `package.json`\n- `tailwindcss()` plugin should NOT be in `vite.config.ts`\n\n\n### Screenshots or Videos\n\n\u003cimg width=\"512\" height=\"490\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8a43b9d2-d287-447a-8cb9-d95c33bceb88\" />\n\n\u003cimg width=\"465\" height=\"457\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f9e275bc-b571-4eb9-bf75-c69cba29b83b\" />\n\n### Platform\n\n- @tanstack/react-start: 1.132.0\n- OS: macOS\n- Node.js: v22.19.0\n- Package Manager: pnpm 10.28.0\n\n### Additional context\n\nI'd like to help fix this issue if confirmed as a bug.\nWould you be open to a PR that fixes this? I can!","author":{"url":"https://github.com/unhhyyeexx","@type":"Person","name":"unhhyyeexx"},"datePublished":"2026-01-10T08:48:23Z","url":"https://github.com/TanStack/cli/issues/279"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4046b97a-fe58-66f8-af81-11543b24e58c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98E0:25ABDA:42AF60A:57DBBB4:6AF9B9F6 |
| html-safe-nonce | 6545f71da4c9b5786f5424d5bbc0120e6979141cf7e65b55298fd7a35ad2fbd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEUwOjI1QUJEQTo0MkFGNjBBOjU3REJCQjQ6NkFGOUI5RjYiLCJ2aXNpdG9yX2lkIjoiNjc2NTUwMDg0NTE1MzQzNDEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 469500a65db6d0408cefc273897191a11210c2cf9ca83f32c824324467c62bfa |
| hovercard-subject-tag | issue:3799354038 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/cli/279/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff0ba7267ae644acc801e53a1c684df0237584bc2433ac248370bbac8b29160b/TanStack/cli/issues/279 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff0ba7267ae644acc801e53a1c684df0237584bc2433ac248370bbac8b29160b/TanStack/cli/issues/279 |
| og:image:alt | Which project does this relate to? Create Tanstack App Describe the bug Whn running pnpm create @tanstack/start@latest, if I select "No" for the Tailwind CSS prompt, the CLI still installs Tailwind... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | unhhyyeexx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/TanStack/cli git https://github.com/TanStack/cli.git |
| octolytics-dimension-user_id | 72518640 |
| octolytics-dimension-user_login | TanStack |
| octolytics-dimension-repository_id | 932949058 |
| octolytics-dimension-repository_nwo | TanStack/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 932949058 |
| octolytics-dimension-repository_network_root_nwo | TanStack/cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width