DEV Community

Discussion on: Nextjs TailwindCSS Typescript Starter

Collapse
 
vuongddang profile image
Vuong Dang

Next.js compiles CSS using PostCSS out of the box. So we just have to customize postcss.config.js to include tailwindcss plugin. More info can be found here.

Hope that helps!

Collapse
 
akshay090 profile image
Akshay090

That's really cool.

Collapse
 
vuongddang profile image
Vuong Dang

if we integrate TailwindCSS to a project create with Create React App Blog post by Christopher, then we might need to install postcss-cli and create a script tag to run postcss ourself.