Skip to main content

Tailwind PostCSS Config Flag

Sep 28, 2020 • 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