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 plugin to vite.config.ts.
duplicate:
This issue has been reported multiple times but appears to still be unresolved. I'd like to help fix this if confirmed as a bug.
Your Example Website or App
.
Steps to Reproduce the Bug or Issue
Steps to Resproduce
- Run the following command:
pnpm create @tanstack/start@latest
- Select these options:
- Project name: `your-project-name`
- Tailwind CSS: No // Key selection
- Toolchain: ESLint
- Deployment adapter: Nitro
- Add-ons: Query
- Examples: none
- Check the generated files:
cd your-project-name
cat package.json | grep tailwind
cat vite.config.ts | grep tailwind
Actual Result:
Despite selecting "No", Tailwind dependencies are still present:
package.json:
"dependencies": {
"@tailwindcss/vite": "^4.0.6",
"tailwindcss": "^4.0.6"
}
vite.config.ts:
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [
tailwindcss(), // Should not be here
],
})
Expected behavior
When selecting "No" for Tailwind CSS:
@tailwindcss/vite and tailwindcss should NOT be in package.json
tailwindcss() plugin should NOT be in vite.config.ts
Screenshots or Videos
Platform
- @tanstack/react-start: 1.132.0
- OS: macOS
- Node.js: v22.19.0
- Package Manager: pnpm 10.28.0
Additional context
I'd like to help fix this issue if confirmed as a bug.
Would you be open to a PR that fixes this? I can!
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 plugin to vite.config.ts.
duplicate:
pnpm create @tanstack/start@latestconfigures Tailwind even when choosing "No" for Tailwind during setup #270This issue has been reported multiple times but appears to still be unresolved. I'd like to help fix this if confirmed as a bug.
Your Example Website or App
.
Steps to Reproduce the Bug or Issue
Steps to Resproduce
- Project name: `your-project-name` - Tailwind CSS: No // Key selection - Toolchain: ESLint - Deployment adapter: Nitro - Add-ons: Query - Examples: noneActual Result:
Despite selecting "No", Tailwind dependencies are still present:
package.json:
vite.config.ts:
Expected behavior
When selecting "No" for Tailwind CSS:
@tailwindcss/viteandtailwindcssshould NOT be inpackage.jsontailwindcss()plugin should NOT be invite.config.tsScreenshots or Videos
Platform
Additional context
I'd like to help fix this issue if confirmed as a bug.
Would you be open to a PR that fixes this? I can!