From 573353e01c2b065d9866779bbea735d3135a9af7 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Thu, 17 Mar 2022 19:58:43 -0400 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bb0a35..338e047 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Install the plugin from npm: npm install -D @tailwindcss/aspect-ratio ``` -Then add the plugin to your `tailwind.config.js` file: +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: ```js // tailwind.config.js @@ -19,6 +19,9 @@ module.exports = { theme: { // ... }, + corePlugins: { + aspectRatio: false, + }, plugins: [ require('@tailwindcss/aspect-ratio'), // ...