Skip to content

Tailwind PostCSS Config Flag

• 1 min

If you use -p when initializing Tailwind for your project it will generate a PostCSS config file at the same time.

# creates both a tailwind.config.js and postcss.config.js
npx tailwindcss init -p