{"library":"vue-mqtt","type":"library","category":null,"description":"Vue 2 plugin that integrates MQTT over WebSocket using the MQTT.js library, enabling real-time messaging in Vue applications. Current stable version is 2.0.3 with no active releases in recent years. It provides a simple Vue plugin interface to configure a global MQTT client, then use $mqtt on instances for subscribe/publish and declarative topic handlers in component options. Key differentiators: minimal setup, subscription at component level, and automatic client management. Limited to Vue 2 and not compatible with Vue 3 or newer MQTT.js versions.","language":"javascript","status":"maintenance","version":"2.0.3","tags":["javascript","vuejs","socket","vue","mqtt","websocket","realtime"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install vue-mqtt","imports":["import VueMqtt from 'vue-mqtt'","this.$mqtt.subscribe('topic')","export default { mqtt: { 'topic': callback } }"]},{"cmd":"yarn add vue-mqtt","imports":[]},{"cmd":"pnpm add vue-mqtt","imports":[]}],"homepage":"https://github.com/nik-zp/vue-mqtt","github":"https://github.com/nik-zp/vue-mqtt","docs":null,"changelog":null,"pypi":null,"npm":"vue-mqtt","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}