|
@@ -11,6 +11,7 @@
|
|
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
|
|
<!-- htmx -->
|
|
<!-- htmx -->
|
|
|
<script src="/static/js/htmx.min.js"></script>
|
|
<script src="/static/js/htmx.min.js"></script>
|
|
|
|
|
+ <script src="/static/js/_hyperscript.min.js"></script>
|
|
|
</head>
|
|
</head>
|
|
|
|
|
|
|
|
<body hx-boost="true">
|
|
<body hx-boost="true">
|
|
@@ -26,4 +27,8 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="counter">
|
|
|
|
|
+ <output>0</output>
|
|
|
|
|
+ <button _="on click increment the textContent of the previous <output/>">Increment</button> (1)
|
|
|
|
|
+ </div>
|
|
|
{{end}}
|
|
{{end}}
|