Adding some minor CSS

This commit is contained in:
Julien Lengrand-Lambert
2021-09-26 10:44:55 +02:00
parent 09eec4f284
commit f00969c962
2 changed files with 4 additions and 1 deletions

View File

@@ -22,7 +22,6 @@ tag app
def fetch
const dataFetch = await window.fetch("/todos")
data = await dataFetch.json()
console.log(data)
def mount
fetch()

View File

@@ -4,11 +4,15 @@ tag todo-item
<p> data
export tag TodoApp
css margin-top: 20px mb: 20px
prop todos
<self> for todo in todos
<todo-item data=todo>
export tag TodoForm
css button background:#b2f5ea
css button@hover background:#e76f51
prop message
<self>
<input type='text' bind=message>