skip to Main Content

When I added NextUIProvider, it caused a conflict with Tailwind CSS, resulting in a disorganized appearance of the website’s CSS. I attempted to resolve the issue by adding !important or prefix to Tailwind’s configuration, but these solutions did not work. Are there any other solutions to this problem? I use vite btw

2

Answers


  1. Chosen as BEST ANSWER

    I resolved the issues by setting disableBaseline to true.

    <NextUIProvider disableBaseline="true">
       <App />
    </NextUIProvider>
    

  2. you may want to use only the stable components from nextui, here is the roadmap

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search