tailwind-bootstrap-grid icon indicating copy to clipboard operation
tailwind-bootstrap-grid copied to clipboard

How to disable container core plugin?

Open MickL opened this issue 1 year ago • 1 comments

I am getting the following error:

WARN ⚠️ The container core plugin is enabled and you're also generating .container class with the tailwind-bootstrap-grid plugin. This might lead to unexpected styling issues, disable either of one.

But how to disable the container core plugin? The readme links to a section of a page that does not exist: https://tailwindcss.com/docs/container#disabling-entirely

Maybe also update the readme for everyone to come :)

MickL avatar Nov 28 '23 13:11 MickL

Yeah, you need to disable it as a core plugin:

        corePlugins: {
          container: false,
        },

I remember this has changed over the lifetime of tailwindcss, and thus I just didn't want to maintain this information.

karolis-sh avatar Nov 28 '23 16:11 karolis-sh