Tailwind CSS 4 · Configuration in CSS

Scan an extra source folder

Tell Tailwind to look for class names in a path it does not detect automatically, such as a package in node_modules.

@source "../node_modules/my-ui-library";

Official Tailwind CSS 4 documentation

More configuration in css commands

All configuration in css commands · Tailwind CSS 4 cheatsheet

Was this page helpful?