Skip to content

Commit fa937f2

Browse files
committed
docs: Update installation instructions for TailwindCSS V4
1 parent df16d50 commit fa937f2

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

README.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,12 @@ Install the plugin from npm:
1313
npm install -D @tailwindcss/line-clamp
1414
```
1515

16-
Then add the plugin to your `tailwind.config.js` file:
16+
Then add the plugin to your main `style.css` file:
1717

18-
```js
19-
// tailwind.config.js
20-
module.exports = {
21-
theme: {
22-
// ...
23-
},
24-
plugins: [
25-
require('@tailwindcss/line-clamp'),
26-
// ...
27-
],
18+
```diff
19+
@import "tailwindcss";
20+
+ @plugin "@tailwindcss/line-clamp";
21+
```
2822
}
2923
```
3024

0 commit comments

Comments
 (0)