aboutsummaryrefslogtreecommitdiff
path: root/src/app/root.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-10-26 09:23:55 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2026-10-26 09:23:55 +0100
commit91d9b6992ac0ebee13704a3faefa8fd41a00075e (patch)
treeea0a30cc0cfb2232d3e60c845c20a67b6cdf0b99 /src/app/root.zig
parent65300a13dcd11037218bf8ba61efd8ca19e5920e (diff)
zilch: dynamic element creation
Diffstat (limited to 'src/app/root.zig')
-rw-r--r--src/app/root.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/root.zig b/src/app/root.zig
index d57faf9..1a04b21 100644
--- a/src/app/root.zig
+++ b/src/app/root.zig
@@ -14,7 +14,8 @@ pub const app: zilch.App(.{
.favicon = "icon.png",
.functions = &(zilch.Object.functions ++
zilch.Promise.functions ++
- zilch.Callable.functions),
+ zilch.Callable.functions ++
+ zilch.Component.functions),
.globals = &.{
zilch.Object.global(.window),
zilch.Object.global(.Object),