aboutsummaryrefslogtreecommitdiff
path: root/example/index.lua
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-11 02:20:44 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-11 02:20:44 +0100
commit343bcfdfaaba32b7a46e1a945a4538e72d166ea8 (patch)
treeed27311160054515b6375a9f92e092772300ee65 /example/index.lua
huh whuh
Diffstat (limited to 'example/index.lua')
-rw-r--r--example/index.lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/example/index.lua b/example/index.lua
new file mode 100644
index 0000000..76e1c0b
--- /dev/null
+++ b/example/index.lua
@@ -0,0 +1,29 @@
+return function()
+ return {
+ tag = "html",
+ children = {
+ {
+ tag = "head",
+ children = {
+ {
+ tag = "title",
+ children = {
+ "Hello World"
+ }
+ }
+ }
+ },
+ {
+ tag = "body",
+ children = {
+ {
+ tag = "h1",
+ children = {
+ "Hello World"
+ }
+ }
+ }
+ }
+ }
+ }
+end