aboutsummaryrefslogtreecommitdiff
path: root/test/examples/svg.html
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2023-07-20 21:56:25 +0100
committerHayleigh Thompson <me@hayleigh.dev>2023-07-20 21:56:25 +0100
commitb6311d242f6775c973bd005e33f4cbb99653bd54 (patch)
tree962ba27b5623a230af31bf7caa6f54855c3ddb93 /test/examples/svg.html
parentc6e25797328a167c986f9e8503b028157a0105aa (diff)
downloadlustre-b6311d242f6775c973bd005e33f4cbb99653bd54.tar.gz
lustre-b6311d242f6775c973bd005e33f4cbb99653bd54.zip
:sparkles: Add proper svg support.
Diffstat (limited to 'test/examples/svg.html')
-rw-r--r--test/examples/svg.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/examples/svg.html b/test/examples/svg.html
new file mode 100644
index 0000000..10daddd
--- /dev/null
+++ b/test/examples/svg.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>lustre | svg</title>
+
+ <script type="module">
+ import { main } from "../../build/dev/javascript/lustre/examples/counter.mjs";
+
+ document.addEventListener("DOMContentLoaded", main);
+ </script>
+ </head>
+ <body>
+ <div data-lustre-app></div>
+ </body>
+</html>