...
This commit is contained in:
BIN
examples/web/ui_demo
Executable file
BIN
examples/web/ui_demo
Executable file
Binary file not shown.
13
examples/web/ui_demo.v
Normal file
13
examples/web/ui_demo.v
Normal 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
BIN
examples/web/ui_demo1
Executable file
Binary file not shown.
13
examples/web/ui_demo1.vsh
Executable file
13
examples/web/ui_demo1.vsh
Executable 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
|
||||
)!
|
||||
}
|
||||
Reference in New Issue
Block a user