diff demo/index.html @ 89:4d19a94906d2

redo demo/ with vitejs (so nice)
author drewp@bigasterisk.com
date Wed, 12 Jan 2022 16:52:10 -0800
parents ac7ad087d474
children
line wrap: on
line diff
--- a/demo/index.html	Tue Nov 30 00:14:37 2021 -0800
+++ b/demo/index.html	Wed Jan 12 16:52:10 2022 -0800
@@ -1,15 +1,12 @@
 <!DOCTYPE html>
-<html>
+<html lang="en">
   <head>
-    <script type="module">
-      import { StreamedGraph } from 'streamed-graph';
-      </script>
-
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>streamed-graph demo</title>
+    <script type="module" src="/src/my-element.ts"></script>
+  </head>
   <body>
-    <style>body {background: black; color:  white; }
-
-    </style>
-    here's a streamed-graph: <streamed-graph expanded url="http://10.43.193.115/graph/zigbee/events"></streamed-graph>
-    here's a streamed-graph: <streamed-graph expanded url="http://dash:9075/graph/environment/events"></streamed-graph>
+    <my-element></my-element>
   </body>
 </html>