Serve and demo HTMX
This commit is contained in:
1
src/frontend/htmx.min.js
vendored
Normal file
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
14
src/frontend/index.html
Normal 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>
|
||||
Reference in New Issue
Block a user