fastHTML / app.py
vinay-jose's picture
Create app.py
1334c63 verified
raw
history blame
128 Bytes
from fasthtml.common import *
app,rt = fast_app()
@rt('/')
def get(): return Div(P('Hello World!'), hx_get="/change")
serve()