Skip to content

Commit 573353e

Browse files
authored
Update README.md
1 parent 936b849 commit 573353e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ Install the plugin from npm:
1111
npm install -D @tailwindcss/aspect-ratio
1212
```
1313

14-
Then add the plugin to your `tailwind.config.js` file:
14+
Then add the plugin to your `tailwind.config.js` file, and disable the `aspectRatio` core plugin to avoid conflicts with the native `aspect-ratio` utilities included in Tailwind CSS v3.0:
1515

1616
```js
1717
// tailwind.config.js
1818
module.exports = {
1919
theme: {
2020
// ...
2121
},
22+
corePlugins: {
23+
aspectRatio: false,
24+
},
2225
plugins: [
2326
require('@tailwindcss/aspect-ratio'),
2427
// ...

0 commit comments

Comments
 (0)