tailwindcssadd property tailwindStylesheet to prettier config when both are installed

#507

Development PR

Issue

Open
M
manuel3108
Mar 24, 2025, 5:16 PM
          Quick question: does it work with `prettier-plugin-tailwindcss`? [prettier-plugin-tailwindcss docs](https://github.com/tailwindlabs/prettier-plugin-tailwindcss?tab=readme-ov-file#specifying-your-tailwind-stylesheet-path).

When using Tailwind CSS v4 you must specify your CSS file entry point, which includes your theme, custom utilities, and other Tailwind configuration options. To do this, use the tailwindStylesheet option in your Prettier configuration.

{
  "tailwindStylesheet": "./src/app.css"
}

Originally posted by @sujyotraut in #422 (comment)

❤️ 1

Info

Assignees None
Labels None
Milestone None