I can toogle the left drawer

This commit is contained in:
2025-11-10 08:44:59 +01:00
parent 459c89bae2
commit 5cb628099a
9 changed files with 588 additions and 4 deletions

View File

@@ -54,7 +54,10 @@ def create_app(daisyui: Optional[bool] = True,
:return: A tuple containing the FastHtml application instance and the associated router.
:rtype: Any
"""
hdrs = [Link(href="/myfasthtml/myfasthtml.css", rel="stylesheet", type="text/css")]
hdrs = [
Link(href="/myfasthtml/myfasthtml.css", rel="stylesheet", type="text/css"),
Script(src="/myfasthtml/myfasthtml.js"),
]
if daisyui:
hdrs += [