mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: enable @ logic in the header + fix the example
This commit is contained in:
@ -31,7 +31,7 @@ pub fn (app mut App) index() {
|
||||
$vweb.html()
|
||||
}
|
||||
|
||||
pub fn (app & App) text() {
|
||||
pub fn (app mut App) text() {
|
||||
app.vweb.text('Hello world')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user