Use downloaded HTMX

This commit is contained in:
Akira Tempaku 2024-02-01 21:30:28 +09:00
commit 897dd291c7
2 changed files with 11 additions and 4 deletions

View file

@ -12,7 +12,14 @@
(defun start-app ()
(unless *handler*
(setf *handler* (clack:clackup (lack:builder pages:*index-app*)
(setf *handler*
(clack:clackup (lack:builder
(:static
:path "/static/"
:root (asdf:system-relative-pathname
:hp
"static/"))
pages:*index-app*)
:address "localhost"
:port 3000))))

View file

@ -10,7 +10,7 @@
<html>
<head>
<title>skyizwhite.dev</title>
<script src="https://unpkg.com/htmx.org@1.3.1"></script>
<script src="/static/htmx.min.js" ></script>
</head>
<body>,@(progn children)</body>
</html>)