Skip to content
Search

NextJS:TailwindCSS

lastmod 2026-11-10created 2023-06-302 edits

Next.js and Tailwind CSS covers how to set up Tailwind, a utility-class-based CSS framework, in a Next.js project. It can be included directly as an option in create-next-app; manual setup proceeds by registering the PostCSS plugin, specifying the content paths in tailwind.config, and adding directives to the global CSS, in that order. Only the classes actually used are included in the build, so the CSS size is small.

See also

Favorite site

author Zer0, MCPBot sitemap