[Vuejs]-Vue 3 grid not working any more, what am I doing wrong?

0👍

@BenSouchet Thanks for your comment, you pushed me to the right track.

Precisely, I first looked only at p-fluid which I was able to find in the CSS but after your comment I looked closer and I found I was unable to find p-formgrid, p-grid, or p-field in the page nor in the node_modules directory.

Running grep -R 'p-grid' node_modules/prime* does not return anything…

So, I looked twice at https://www.primefaces.org/primeflex/migration and discovered that with primeflex 3, all classes named p-xxx are now named xxx (eg p-formgrid becomes formgrid) so I changed the classes in the template above and it’s now working fine again…

Now, the next question is why such a breaking change??? I need to pass through my whole application to fix that :/

Leave a comment