Fix mqtt import

This commit is contained in:
Skylar Grant 2024-08-14 19:05:55 -04:00
parent 6ba5766a30
commit 76e66c8818
2 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,4 @@
// Custom Classes files // Custom Classes files
import mqtt from 'mqtt';
import { config } from './config.json'; import { config } from './config.json';
export class State { export class State {

View File

@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hestia</title> <title>Hestia</title>
<script src="https://cdn.tailwindcss.com"></script> <script src="https://cdn.tailwindcss.com"></script>
<script src="<https://unpkg.com/mqtt/dist/mqtt.min.js>"></script>
<script type="module" src="./assets/hestia.js"></script> <script type="module" src="./assets/hestia.js"></script>
</head> </head>