Example for Vue-Mqtt
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
Example for Vue-Mqtt
Example for Vue-Mqtt
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
Original:
export default {
data () {
return {
buff: 'Sub1:
' //This line
}
},
Change it to :
buff: 'Sub2:
'
Hi Nik-zp, i need some help here. Im trying to set a topic dinamically. I have a dashboard so when I select some item on a select HTML tag i need to catch this value and suscribe to this topic also, put this value on the line down here. How can I do this?
Thank you a lot.
Vue-Mqtt-Example/src/components/Sub1.vue
Line 15 in 2278198
Sorry about my english.
Can I use MQTT directly with this? Does it have to go through websockets?
Hi,
Is it possible to get like a promised when publishing a message to a topic, to make sure, the message was received?
Hi, this is more of a howto question i hope you do not mind me.
Basically how would i use the client with vuex in order to track connection status[connected,reconnecting,disconnecting,stoped].
Thanks.
git clone, then npm run dev
, but compile error message show as below.
ERROR Failed to compile with 1 errors 9:29:09 PM
error in ./src/App.vue
Module build failed: ValidationError: CSS Loader Invalid Options
options should NOT have additional properties
at validateOptions (/Users/Workspace/vue/Vue-Mqtt-Example/node_modules/css-loader/node_modules/schema-utils/src/validateOptions.js:32:11)
at Object.loader (/Users/Workspace/vue/Vue-Mqtt-Example/node_modules/css-loader/dist/index.js:44:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0b6e3b1d","scoped":false,"hasInlineCo
nfig":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue 4:14-319 13:3-17:5 14:22-327
@ ./src/App.vue
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
I build a project vuejs typescript, i want use mqtt but i don't know using how, Could you help me
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.