Tailwind and PrimeVue, how are they combined?

UI Components for Vue
Post Reply
miguelst
Posts: 1
Joined: 16 Apr 2023, 15:48

16 Apr 2023, 15:53

In the examples of Primevue I see classes that look like tailwind classes (p-4, flex, ...)
However I can't use any of the tailwind classes on my own components, how does tailwind work with Primevue? Thanks!

bahadirsofuoglu
Posts: 84
Joined: 06 Sep 2022, 08:59

19 Apr 2023, 10:01

Hi, The classes you have seen belong to PrimeFlex. We use PrimeFlex while preparing our samples. Using PrimeFlex with Tailwind will cause some problems. We are working on that. You cannot bind tailwind classes to components. But you can use it for the rest of your project.
https://www.primefaces.org/primeflex/

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests