cpiprint

cpiprint/astro-tw-autoreference

Automatically inject tailwind `@reference` directives in Astro component style blocks

1
0
MIT License

astro-tw-autoreference is a Vite plugin for Astro projects that automatically injects Tailwind 4 `@reference` directives into component style blocks, eliminating the need to manually add them to each component. It's designed for Astro developers using Tailwind v4 who want to use `@apply` or access Tailwind utilities without manually managing reference directives. The plugin supports configuration options to include/exclude specific files and define which CSS files to reference.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

bitgumbo's profile
bitgumbo
31 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet