Page 1 of 1

PrimeFlex conflict

Posted: 10 Sep 2021, 17:28
by AmirPeivandi
HiI purchased the PrimeBlocks licence and trying to use it in my project however I notices there is a conflict between using PrimeReact components and PrimeBlocks code.It seems to use PrimeReact we should use PrimeFlex 2 as per the documentation here https://primefaces.org/primereact/showc ... lexHowever PrimeBlocks use PrimeFlex 3.0 as per its documentation https://www.primefaces.org/primeblocks- ... umentation
When I switch to primeFlex 3.0 my PrimeBlocks code works fine but my code that works fine using PrimeFlex 2.0 is not rendering correctly under PrimeFlex 3!

Is there an upgrade of PrimeReact components to use PrimeFlex 3 I can use? As it is PrimeBlocks purchase is useless as I've already built a full application using PrimeReact components and I can't redo all my UI using new blocks, I need to use the blocks on new components while old components also work fine!
Any suggestions?


BestAmir

Re: PrimeFlex conflict

Posted: 14 Sep 2021, 17:56
by AmirPeivandi
So much for support!

Re: PrimeFlex conflict

Posted: 16 Sep 2021, 14:01
by cagatay.civici
We have provided a response with email as well, posting it here again;

Hi,

PrimeReact components themselves do not directly depend on the PrimeFlex so they can be used both with V2 and V3. In fact, PrimeReact can be used with any other CSS utility like Bootstrap, Tailwind ...

PrimeBlocks requires PrimeFlex v3.

For migration, please see;

https://www.primefaces.org/primeflex/migration

Regards,

Cagatay Civici
PrimeTek