Skip to content

Update README.md to be more clear #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ As of v0.5.x, this plugin now requires Prettier v3 and is ESM-only. This means i

## Options

### Specifying your Tailwind stylesheet path
### Specifying your Tailwind stylesheet path (tailwind v4)

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.

Expand All @@ -38,7 +38,7 @@ Note that paths are resolved relative to the Prettier configuration file.
}
```

### Specifying your Tailwind JavaScript config path
### Specifying your Tailwind JavaScript config path (tailwind v3)

To ensure that the class sorting takes into consideration any of your project's Tailwind customizations, it needs access to your [Tailwind configuration file](https://tailwindcss.com/docs/configuration) (`tailwind.config.js`).

Expand Down