mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: $action (ComptimeCall); vweb: hello world works!
This commit is contained in:
@ -27,7 +27,8 @@ pub fn (mut app App) json_endpoint() {
|
||||
|
||||
pub fn (mut app App) index() {
|
||||
app.cnt++
|
||||
$vweb.html()
|
||||
app.vweb.text('Hello world from vweb')
|
||||
//$vweb.html()
|
||||
}
|
||||
|
||||
pub fn (mut app App) reset() {
|
||||
|
Reference in New Issue
Block a user