aboutsummaryrefslogtreecommitdiff
path: root/src/z/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/z/root.zig')
-rw-r--r--src/z/root.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/z/root.zig b/src/z/root.zig
index 26bbffc..b23ebc5 100644
--- a/src/z/root.zig
+++ b/src/z/root.zig
@@ -25,7 +25,10 @@ pub const html: File = .{
};
pub fn env(comptime components: []const Component) Element {
- var children: []const Element = &.{script.load(@embedFile("z.js"))};
+ var children: []const Element = &.{
+ script.load(@embedFile("z.js")),
+ script.load(@embedFile("rest.js")),
+ };
inline for (components) |c| {
const child: []const Element = &.{c.toElement()};