Open iamqinglong opened 5 years ago
Unfortunately, this library is still under development and not finished :( . I recommend reading this blog post if you want to setup MQTT with NUXT.
https://medium.com/@iman.tabrizian/connecting-nuxt-js-to-mqtt-1a6252842992
I'm getting this error while adding below into my
nuxt.config.js
modules: [ 'nuxt-mqtt-module', ]
or
modules: [ ['nuxt-mqtt-module', { uri: 'ws://localhost:8000'}], ]