tailwindlabs / tailwindcss.com

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

Getting started - Postcss npx init command #1867

Closed TearingMoon closed 2 weeks ago

TearingMoon commented 2 weeks ago

In the getting started tab of docs, inside the "Using postcss" section , the first instruction could be more accesible if instead of npx tailwindcss init you had npx tailwindcss init -p to also generate the required Postcss config file. From this: imagen_2024-08-30_131503916 To this: imagen_2024-08-30_131633821

Hope it was helpfull, have a nice day!

adamwathan commented 2 weeks ago

Hey! We did this on purpose expecting most people using that guide to already be using PostCSS and therefore already have a config file, but still appreciate the feedback and will consider this change if it seems like this is an issue for a lot of people.