Serve and demo HTMX

This commit is contained in:
2024-01-26 17:48:43 -08:00
parent 7ddb9e61a6
commit 6f0c4620d7
3 changed files with 26 additions and 1 deletions

1
src/frontend/htmx.min.js vendored Normal file

File diff suppressed because one or more lines are too long

14
src/frontend/index.html Normal file
View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script defer src="./htmx.min.js"></script>
<title>Caleb's Blog</title>
</head>
<body>
<h1>Hello</h1>
<button hx-get="/content/post">Click Me</button>
</body>
</html>