Skip to content

Commit 482afd9

Browse files
committed
Update readme
1 parent f38f54d commit 482afd9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
# prettier-plugin-tailwindcss
22

3-
A [Prettier](https://prettier.io/) plugin...
3+
A [Prettier](https://prettier.io/) plugin for Tailwind CSS that automatically sorts classes based on Tailwind's internal class sorting algorithm.
44

55
## Installation
66

77
> Note that `prettier-plugin-tailwindcss` is only compatible with Tailwind CSS v3
88
99
```sh
10-
# Using npm
1110
npm install --save-dev prettier prettier-plugin-tailwindcss
12-
13-
# Using Yarn
14-
yarn add --dev prettier prettier-plugin-tailwindcss
1511
```
1612

1713
By default the plugin will look for a [Tailwind config file (`tailwind.config.js`)](https://tailwindcss.com/docs/configuration) in the same directory as your Prettier config file. If your Tailwind config file is somewhere else you can specify this using the `tailwindConfig` option (paths are resolved relative to the Prettier config file):

0 commit comments

Comments
 (0)