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'), // ...