Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Create a template file in this directory so that it makes the parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmealing committed Oct 29, 2023
1 parent 24bb986 commit 3cb0b35
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions priv/user/live.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

<!DOCTYPE html>
<html>
<head>
<title>Your Page</title>
<script src="https://unpkg.com/[email protected]"></script>
</head>

<body>
<h1>
Your HTMX demo
</h1>

<div>
<button hx-post="/chapter1-clicked" hx-swap="outerHTML" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Click Me
</button>
</div>
</body>
</html>


0 comments on commit 3cb0b35

Please sign in to comment.