Skip to content
Discussion options

You must be logged in to vote

Hi @hirohiro-sys,
The correct set of commands for Tailwind 3 would be:

mkdir todo
cd todo
pnpm init
pnpm add @lazarv/react-server better-sqlite3 zod
pnpm add -D @types/better-sqlite3 @types/react @types/react-dom autoprefixer postcss tailwindcss@3 typescript
pnpx tailwindcss@3 init -p

When both installing and using the init command with the Tailwind 3 CLI and properly creating and using a CSS file imported in a server component, Tailwind 3 should still work.

So the only update in the tutorial would be including @3 for tailwindcss for both commands. Please let me know if there's still other issues with Tailwind. Thanks!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hirohiro-sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants