+ The primeclt is a command line utility by PrimeTek to assist project setup and migration. The pf2tw command is created for smooth + migration between PrimeFlex to Tailwind CSS. As a prequisite, the tailwindcss-primeui is required to provide the matching classes that do not exist in core Tailwind CSS such as semantic colors and animations. +
+Install PrimeCLT.
+Run the pf2wt in a directory that contains files to be migrated.
+There are a couple of minor limitations that are not migrated. PrimeVue v3 is not supported as the plugin is compatible with PrimeVue v4 only. In addition, following classes are not migrated as they have no counterparts.
++ PrimeFlex is designed to be a lightweight CSS utility to accompany Prime UI libraries. As part of our product roadmap planning at PrimeTek, the team has decided to avoid the maintenance of a CSS library + and utilize the resources on improving the UI libraries instead. Community feedback has been essential in this decision as well since majority of the applications have their own CSS utilities whether it is Tailwind, Bootstrap or an + in-house one, as a result adding PrimeFlex to a project was causing overlapping functionality. +
++ The tailwindcss-primeui is an official plugin by PrimeTek to provide first class integration between a Prime UI library like + PrimeVue and Tailwind CSS. In styled mode, the semantic colors such as primary and surfaces are provided as Tailwind utilities e.g. bg-primary, text-surface-500, text-muted-color. +
+View the
+ Tailwind CSS in particular is a popular choice, we have even build Tailwind CSS presets for the unstyled mode to be able to use the utility classes to style the PrimeVue components. During this + work, we've realized that the value added by PrimeFlex such as providing the PrimeVue theming as utility classes can be implemented as a Tailwind plugin. As part of PrimeVue v4, a tailwind-primeui plugin has been created for the seamless + integration, the website templating demos have been migrated from PrimeFlex to Tailwind and a converter tool called pf2tw has been created. In summary, PrimeTek officially suggests Tailwind CSS as the replacement for PrimeFlex. +
+Moving from PrimeFlex to Tailwind CSS.
+