dynamic but not yet reactive text in handlebars

This commit is contained in:
Torsten
2023-02-07 17:07:18 +02:00
parent ef4a22709a
commit 6aa874fe64
3 changed files with 23 additions and 8 deletions

View File

@ -1,9 +1,10 @@
#app.flex.justify-center
.flex.flex-col
#app
.flex.justify-center
= @image.attributes
.flex.justify-center
%a.underline{ e_click: "hi"}
{{Back}}
{{ bg }}
%div{ r_class: 21 }
:opal
class Clicker < VueR::Application
@ -11,7 +12,4 @@
end
kanta = Clicker.new(bg: 'bg-cyan-200')
puts kanta.bg
kanta.bg = "bg-cyan"
puts kanta.bg
kanta.mount("#app")