Repository navigation
Why is Tailwind included? Where is it used? Can I remove it? #2948
|
Hello! As the title says, I'm wondering why tailwind is included. React-Admin uses Material UI (mui) which offers it's own I've been mostly ignoring it, but today I tried using the RichTextInput and RichTextField and because of Tailwind's preflight, the lists and headers appear unstyled in the editor. I've « solved » the issue by adding tailwind-typography, but then I also tried to remove Tailwind entirely and it works just as well. As far as I can see, nothing in the Admin uses it. I looked around, but:
Thanks for your time! |
Replies: 2 comments 4 replies
|
Tailwind is optional in React-Admin. The core UI uses MUI, so if you are not using Tailwind classes, you can safely remove it. |
|
It's also used by the default skeleton of the |
No, I'm human ^^
It's optional as many features and components provided by the API Platform distribution.
The idea is to enable most features out of the box.
If you don't want to use the Tailwind integration provided by
create-client(that is also shipped with the distribution), uninstall it.