You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have an extension that uses vue, inside the popup.vue I can import the vue libraries normally, like this:
import "primeflex/primeflex.css";
import "primevue/resources/themes/saga-blue/theme.css";
import "primeicons/primeicons.css";
import type { App } from "vue";
import PrimeVue from "primevue/config";
import Button from "primevue/button";
import TabView from "primevue/tabview";
import TabPanel from "primevue/tabpanel";
import SelectButton from "primevue/selectbutton";
defineOptions({
prepare(app: App) {
app.use(PrimeVue, { ripple: true });
app.component("Button", Button);
app.component("TabView", TabView);
app.component("TabPanel", TabPanel);
app.component("SelectButton", SelectButton);
},
});
But when I try to do the same thing with someone CSUI it doesn't work, it doesn't return any errors, but it doesn't work.
How would I use it inside a csui?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I have an extension that uses vue, inside the popup.vue I can import the vue libraries normally, like this:
But when I try to do the same thing with someone CSUI it doesn't work, it doesn't return any errors, but it doesn't work.
How would I use it inside a csui?
Beta Was this translation helpful? Give feedback.
All reactions