How to use a component library on Contents?

Hello, I would like to use a component package (https://primevue.org/) inside the content folder files.
To add to popup/options/newtab etc we have a defineOptions method:

defineOptions({
   prepare(app: app) {
     app.use(PrimeVue);
     app.component("Button", Button)
   }
})


Where can I setup primevue correctly. But within the files of the Content folder this does not work, I use the same code but the components do not appear.

Would you have any practical examples of how to use the component library within the contents?
Was this page helpful?