You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <title>MQTTnet Server test</title>
- </head>
- <body>
- <script src="node_modules/systemjs/dist/system.js"></script>
- <script>
- System.config({
- packages: {
- '': {
- defaultExtension: 'js'
- }
- },
- map: {
- mqtt: 'node_modules/mqtt/dist/mqtt.min'
- }
- });
- System.import('app/app');
- </script>
-
- <div>
- <p id="state"></p>
- <input id="topic" placeholder="topic" />
- <input id="msg" placeholder="msg" />
- <button id="publish">send</button>
- </div>
-
- <div>
- <ul id="msgs" ></ul>
- </div>
-
- </body>
- </html>
|