Hi,
Is it possible to use PrimeNG with Primefaces? I tried it and PrimeNG components work properly but all Primefaces components stop working and I got few "TypeError: PF(...) is undefined" when I tried to click PF components. I tried the setup without primeui-ng-all.min.js file and PF components started working again, but PrimeNG components of course didn't work then. PF version is 3.5.11, other versions are in my signature.
PrimeFaces + PrimeNG
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I'm not sure if they both can be used together, the PF function is added in PrimeFaces 4.0 as I remember, it does not exist in 3.5.11 if I'm not wrong.
Also use primeui-ng.min.js instead of primeui-ng-all.min.js, as the latter one has jquery, that is already included by PrimeFaces.
Also use primeui-ng.min.js instead of primeui-ng-all.min.js, as the latter one has jquery, that is already included by PrimeFaces.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hopefully in a couple of weeks, PrimeNG will not depend on any javascript from PrimeUI as we convert the depending ones to native angular2 components these days.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests