This commit is contained in:
2025-08-08 17:51:57 +02:00
parent a727d19281
commit fd195f0824
6 changed files with 396 additions and 0 deletions

BIN
examples/web/ui_demo Executable file

Binary file not shown.

13
examples/web/ui_demo.v Normal file
View File

@@ -0,0 +1,13 @@
module main
import freeflowuniverse.herolib.web.ui
fn main() {
println('Starting UI demo server on port 8080...')
println('Visit http://localhost:8080 to see the admin interface')
ui.start(
title: 'Demo Admin Panel'
port: 8080
)!
}

BIN
examples/web/ui_demo1 Executable file

Binary file not shown.

13
examples/web/ui_demo1.vsh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env -S v -n -w -gc none -cg -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.web.ui
fn main() {
println('Starting UI test server on port 8080...')
println('Visit http://localhost:8080 to see the admin interface')
ui.start(
title: 'Test Admin Panel'
port: 8080
)!
}