-
-
Save Tabrizian/6786dbb734f72686893026f7ba8a0015 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
if (process.browser) { | |
const mqtt = require('vue-mqttsocket').default | |
Vue.use(mqtt, {uri: 'ws://localhost:8083/mqtt'}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment