Skip to content

docs(guide): integrate tailwind #4549

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

Merged
merged 4 commits into from
Jul 1, 2025
Merged

Conversation

max-programming
Copy link
Contributor

@max-programming max-programming commented Jun 30, 2025

This PR adds a documentation page for TanStack Start React and Solid to set up Tailwind CSS (both v4 and v3)

As TanStack Start now uses Vite, setting up Tailwind has become easier but there's lack of documentation in many places and there's a lot of outdated docs on many other sites. Hence, adding a page for tailwind right here on the Start docs seems to be a better idea in my opinion.

Let me know if any changes are required

@github-actions github-actions bot added the documentation Everything documentation related label Jun 30, 2025
@max-programming max-programming changed the title Added a page to set up tailwind Added documentaton to set up tailwind Jun 30, 2025
Copy link

nx-cloud bot commented Jun 30, 2025

View your CI Pipeline Execution ↗ for commit e8740cc.

Command Status Duration Result
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 1s View ↗
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-30 12:01:05 UTC

Copy link

pkg-pr-new bot commented Jun 30, 2025

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/arktype-adapter@4549

@tanstack/directive-functions-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/directive-functions-plugin@4549

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/eslint-plugin-router@4549

@tanstack/history

npm i https://pkg.pr.new/TanStack/router/@tanstack/history@4549

@tanstack/react-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router@4549

@tanstack/react-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router-devtools@4549

@tanstack/react-router-with-query

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router-with-query@4549

@tanstack/react-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start@4549

@tanstack/react-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-client@4549

@tanstack/react-start-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-plugin@4549

@tanstack/react-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-server@4549

@tanstack/router-cli

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-cli@4549

@tanstack/router-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-core@4549

@tanstack/router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-devtools@4549

@tanstack/router-devtools-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-devtools-core@4549

@tanstack/router-generator

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-generator@4549

@tanstack/router-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-plugin@4549

@tanstack/router-utils

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-utils@4549

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-vite-plugin@4549

@tanstack/server-functions-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/server-functions-plugin@4549

@tanstack/solid-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router@4549

@tanstack/solid-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router-devtools@4549

@tanstack/solid-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start@4549

@tanstack/solid-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-client@4549

@tanstack/solid-start-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-plugin@4549

@tanstack/solid-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-server@4549

@tanstack/start-client-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-client-core@4549

@tanstack/start-plugin-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-plugin-core@4549

@tanstack/start-server-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-core@4549

@tanstack/start-server-functions-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-functions-client@4549

@tanstack/start-server-functions-fetcher

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-functions-fetcher@4549

@tanstack/start-server-functions-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-functions-server@4549

@tanstack/valibot-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/valibot-adapter@4549

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/TanStack/router/@tanstack/virtual-file-routes@4549

@tanstack/zod-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/zod-adapter@4549

commit: e8740cc

@max-programming max-programming changed the title Added documentaton to set up tailwind docs(guide): integrate tailwind Jun 30, 2025
@schiller-manuel
Copy link
Contributor

what about the issue mentioned here? #3306 (comment)
tailwindlabs/tailwindcss#16958 (comment)

@max-programming
Copy link
Contributor Author

@schiller-manuel I will look into this and we'll see what to do. Because right now on a normal tanstack start project this setup works

@schiller-manuel
Copy link
Contributor

let's merge this for now and fix forward when issues come up.
thanks for your contribution!

@schiller-manuel schiller-manuel merged commit 3e1d2f4 into TanStack:main Jul 1, 2025
5 checks passed
@max-programming
Copy link
Contributor Author

Makes sense. Will keep an eye on those issues ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Everything documentation related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants