diff --git a/doc/tailwind/SetupDoc.vue b/doc/tailwind/SetupDoc.vue index 90a1659b1..85fdbfe33 100644 --- a/doc/tailwind/SetupDoc.vue +++ b/doc/tailwind/SetupDoc.vue @@ -5,16 +5,21 @@ The built-in default theme is basically a global pass through configuration that needs to be imported from primevue/tailwind path and then defined during setup. Since the theme is exclusive to unstyled mode, the unstyled setting is required in addition.

+ +

+ Tailwind uses PurgeCSS internally to remove unused classes, since PrimeVue components are loaded from node_modules the content property at tailwind.config.js needs to be aware of PrimeVue, otherwise the classes utilized in + the theme will be removed as well. +

+

Voilà 💚, you now have 90+ awesome Vue UI components styled with Tailwind that will work in harmony with the rest of your application.

-