tailwindcss/packages
Philipp Spiess b01ff53f2a
Vite: Support Tailwind in Vue <style> blocks (#14158)
This PR adds support to transforming `<style>` blocks emitted by Vue
components with tailwindcss when the `@tailwindcss/vite` is used.

Example:

```vue
<style>
  @import 'tailwindcss/utilities';
  @import 'tailwindcss/theme' theme(reference);
  .foo {
    @apply text-red-500;
  }
</style>
<template>
 <div class="underline foo">Hello Vue!</div>
</template>
```

Additionally, this PR also adds an integration test.

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2024-08-09 12:41:58 +02:00
..
@tailwindcss-cli Use import to load plugins (#14132) 2024-08-08 11:49:06 -04:00
@tailwindcss-postcss Remove errant console log calls 2024-08-08 15:29:47 -04:00
@tailwindcss-vite Vite: Support Tailwind in Vue <style> blocks (#14158) 2024-08-09 12:41:58 +02:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
internal-postcss-fix-relative-paths Add @source support (#14078) 2024-08-07 16:38:44 +02:00
tailwindcss Use import to load plugins (#14132) 2024-08-08 11:49:06 -04:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00