Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3 support #19

Open
Onixarts opened this issue Apr 3, 2021 · 5 comments
Open

Vue3 support #19

Onixarts opened this issue Apr 3, 2021 · 5 comments

Comments

@Onixarts
Copy link

Onixarts commented Apr 3, 2021

Is this project still maintained? It not works with Vue 3.

@grzegorz-uniti
Copy link

Long time - no reply. I am also interested in Vue 3 support.

@grzegorz-uniti
Copy link

Ok, i found a solution.
Change in node_modules/vue-mqtt/src/Main.js line 12 to Vue.config.globalProperties.$mqtt = observer.Mqtt; and recompile module.
It's working now :)

@bluelemonade
Copy link

that sound great, how can I recompile the module, I tried npm rebuild, but the dist didn't change.

@Onixarts
Copy link
Author

Well, I have removed vue-mqtt and just use raw mqttjs. Works fine :).

@tommy44458
Copy link

Hi, you can streamline your Vue3 project with mqtt-vue-hook - the easy-to-use TypeScript library for MQTT broker connections and callback function management :). (https://github.com/tommy44458/mqtt-vue-hook)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants