Add json listing for crosslang new

This commit is contained in:
2025-05-26 13:10:46 -05:00
parent 7456bf9bc0
commit 67e115705e
13 changed files with 86 additions and 161 deletions

View File

@@ -2,8 +2,11 @@ var count = 0;
func Pages.Index()
{
//use null when you wan't to use multiple tags but not emit a div or anything like that
return Components.Shell(
<null>
<h1>Hello, world</h1>
<span>Views: {++count}</span>
</null>
);
}