feat: 添加MQTT示例 (#1021)

* feat: add mqtt client demo use mqtt.js and emqx broker
This commit is contained in:
EchoByte
2024-03-24 19:31:19 +08:00
committed by GitHub
parent eeb09a8da2
commit 69bc6602d0
7 changed files with 613 additions and 13 deletions

10
.vscode/settings.json vendored
View File

@@ -35,5 +35,13 @@
"i18n-ally.sourceLanguage": "en",
"i18n-ally.displayLanguage": "zh-CN",
"i18n-ally.enabledFrameworks": ["vue"],
"iconify.excludes": ["el"]
"iconify.excludes": ["el"],
"vsmqtt.brokerProfiles": [
{
"name": "broker.emqx.io",
"host": "broker.emqx.io/mqtt",
"port": 1883,
"clientId": "vsmqtt_client_db34"
}
]
}