v0.30.3
Stipple v0.30.3
Vue3
This is the first release that fully supports Vue3 and Quasar 2 when used together with StippleUI >= v0.24
The versions v0.30.0 - v0.30.2 contained several bugs which are now fixed.
New features
- macro syntax
@push
in@onchange
and@onbutton
now supports a field argument - new macro syntax
@run "<js statement>"
to execute code at the client side - tentative js assignment
@app begin
@in i = 1
@in j = 2
@onchange j begin
println("j: $j")
end
@onchange i begin
j[!] = 3
@push :j
@run "console.log(`Just silently changed 'j' to 3 and pushed the value to the frontend!`)"
js"j" = 4
@run "console.log('Just set `j` to 4 from the client side! Check your value at the server side!')"
end
end
route("/") do
global model
model = @init
page(model, ui) |> html
end
ui() = [
btn("+1", @click("i += 1"))
h4("i: {{i}}, j: {{j}}")
]
Note
The above features have been backported to version v0.29.1, which will be the last Vue2/Quasar1 version of Stipple.