tailwindlabs / tailwindcss.com

The Tailwind CSS documentation website.
https://tailwindcss.com
3.29k stars 1.75k forks source link

Framework Guide: Remix is inaccurate #1872

Open jkellogg01 opened 1 month ago

jkellogg01 commented 1 month ago

The framework guide for Remix has some information that is inaccurate for a couple of reasons:

  1. Using npx create-remix@latest my-project appears to install & set up Tailwind automatically, so there's no need for users to do so
  2. The resulting tailwind.config.ts and root.tsx files are not set up the same way.

The setup that is recommended in the docs appears (I'm new to remix so take that with a grain of salt) to work just as well as the automatic one, but it may be more clear to either a) tell users that they can just use npx create-remix@latest my-project and they're squared away or b) recommend changing the default setup to the one the docs currently display and explain why this is better.