aboutsummaryrefslogtreecommitdiff
path: root/test/nested.html
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2023-07-12 00:50:25 +0100
committerHayleigh Thompson <me@hayleigh.dev>2023-07-12 00:50:25 +0100
commitd295fe8369a282d2ebb61049b17b2a692b6e4b82 (patch)
tree80e70575b3818ececfd62eb244603bbf74f4646e /test/nested.html
parenta561cd04a127ec203d8d6441e8aba84ef3f22d1d (diff)
downloadlustre-d295fe8369a282d2ebb61049b17b2a692b6e4b82.tar.gz
lustre-d295fe8369a282d2ebb61049b17b2a692b6e4b82.zip
:sparkles: Create an example showing nested 'components' and mapping messages.
Diffstat (limited to 'test/nested.html')
-rw-r--r--test/nested.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/nested.html b/test/nested.html
new file mode 100644
index 0000000..8602345
--- /dev/null
+++ b/test/nested.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>lustre | nested</title>
+
+ <script type="module">
+ import { main } from "../build/dev/javascript/lustre/nested.mjs";
+
+ document.addEventListener("DOMContentLoaded", main);
+ </script>
+ </head>
+ <body></body>
+</html>