chore: Add htmx on an index.html root page
This commit is contained in:
12
templates/index.html
Normal file
12
templates/index.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Krys4lide</title>
|
||||
<script src="https://unpkg.com/htmx.org@2.0.0/dist/htmx.js" integrity="sha384-Xh+GLLi0SMFPwtHQjT72aPG19QvKB8grnyRbYBNIdHWc2NkCrz65jlU7YrzO6qRp" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Krys4lide</h1>
|
||||
<button hx-get="/hello" hx-target="#hello">Hello!</button>
|
||||
<div id="hello"></div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user