Initial proof of concept
This commit is contained in:
parent
b80602e230
commit
85e9e1f5f1
8 changed files with 101 additions and 0 deletions
15
app.scm
Normal file
15
app.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
(define root document.body)
|
||||
|
||||
(define click-count 0)
|
||||
|
||||
(m.mount
|
||||
root
|
||||
`&(:view
|
||||
,(lambda ()
|
||||
(m "main"
|
||||
(vector
|
||||
(m "h1" "LIPS! PWA!")
|
||||
(m "button"
|
||||
`&(:onclick
|
||||
,(lambda () (set! click-count (+ click-count 1))))
|
||||
(format "~a clicks" click-count)))))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue