Hello,
i wanted to use this package with vue 3, but it's only working with vue 2, so i did this little trick to make it work :
app.use((app) => {
let Vue = {
mixin: (m) => {
app.mixin(m);
},
prototype: {}
};
PubNubVue.install(Vue, {
subscribeKey: null,
ssl: true,
uuid: null
});
Object.keys(Vue.prototype).forEach((key) => {
app.config.globalProperties[key] = Vue.prototype[key]
});
})
Hello,
i wanted to use this package with vue 3, but it's only working with vue 2, so i did this little trick to make it work :