generated from ElnuDev/go-project
Create button demo
This commit is contained in:
parent
a48a97a7f7
commit
ed11a84dca
6 changed files with 133 additions and 2 deletions
12
static/index.html
Normal file
12
static/index.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Shiritori</title>
|
||||
<script src="https://unpkg.com/htmx.org@1.9.3"></script>
|
||||
</head>
|
||||
<body>
|
||||
<button hx-get="/api/click" hx-swap="innerHTML">Click me!</button>
|
||||
</body>
|
||||
</html>
|
Reference in a new issue