79563915

Date: 2025-04-09 09:09:58
Score: 2
Natty:
Report link

Tailwind v4 solution

Simply by using the @source CSS directive through the CSS-first configuration:

@import "tailwindcss";
...
@source "../node_modules/my_package/";

Tailwind recognizes all components and the CSS classes they use.

Full post from @rozsazoltan at https://stackoverflow.com/a/79433685/9317625

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @source
  • User mentioned (0): @rozsazoltan
Posted by: Samuel Knoch