Installing libraries with npm for UI Kit Components

I saw that some additional libraries were installed in this tutorial. https://youtu.be/erhzQbhBvJI?t=2474

I am trying to install PrimeVue’s library Install PrimeVue with Vite and was wondering if anyone had experience of how to load libraries for UI kits into WeWeb.

There are a couple of different ways to do it, such as loading PrimeVue and Vue.js from a CDN with a script tag vs loading at the app level.

Can anyone explain the right approach that would deliver the best performance and limit any incompatibilities with the WeWeb wrapper?

Looks like there is a similar thread about installing libaries in general here: Is it possible to use external libraries/packages/plugins while creating custom components

I think your problem here is that you need to access the vue app instance and it looks like it’s not possible at the moment

I found a solution from Ray deck of statechange. https://pro.statechange.ai/ on how to install PrimeVue I’ve asked him if I can share with the broader community.

@benFortunato can you share more information on how to install UI libraries in a WeWeb project?