npm - mqtt official website Manual
https://www.npmjs.com/package/mqtt#weapp
Jane Book notes users
https://www.jianshu.com/p/4fd95cae1a9c
Via CDN source js direct access method
The MQTT.js bundle is available through http://unpkg.com, specifically at https://unpkg.com/mqtt/dist/mqtt.min.js. See http://unpkg.com for the full documentation on version ranges.
WeChat Mini Program uses a small micro-channel manual method
Support WeChat Mini Program. See Doc.
Examples applet Example (js) micro-channel
var mqtt =
var client = mqtt
Ali Ali Mini Program applet using the manual method
Surport Ali Mini Program. See Doc.
(Js) Ali applet example Example
var mqtt =
var client = mqtt