Skip to content

Commit d3c1fbd

Browse files
Include v3 installation instructions alongside v4 (#388)
* Include link to v3 installation instructions Helpful for us on older projects and installing this plugin. * Add instructions instead of linking * Update * update * Add code fence blocks --------- Co-authored-by: Jordan Pittman <[email protected]>
1 parent 632970e commit d3c1fbd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@ Then add the plugin to your main `style.css` file:
3333
+ @plugin "@tailwindcss/typography";
3434
```
3535

36+
If you are still using **Tailwind CSS v3**, add the plugin to your `tailwind.config.js` file:
37+
38+
```
39+
// tailwind.config.js
40+
module.exports = {
41+
theme: {
42+
// ...
43+
},
44+
plugins: [
45+
require('@tailwindcss/typography'),
46+
// ...
47+
],
48+
}
49+
```
50+
3651
---
3752

3853
## Basic usage

0 commit comments

Comments
 (0)