Page 1 of 1

install common component

Posted: 28 May 2019, 14:56
by maydinbil
Hi,
How can install all component

Re: install common component

Posted: 30 May 2019, 10:27
by cagatay.civici
It is not suggested as your bundle size will grow, it is suggested to install the ones you use. Please see;

https://www.primefaces.org/primevue/#/setup

Re: install common component

Posted: 31 May 2019, 12:52
by maydinbil
But I use most of components then I must add one by one. I have Nuxtjs project and I want to add Primevue as plugin.

Re: install common component

Posted: 01 Jun 2019, 13:46
by cagatay.civici
I see, we'll try to come up with an example, maybe the require.context will help, please see "Automatic Global Registration of Base Components";

https://vuejs.org/v2/guide/components-registration.html