making it work
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
package templates
|
||||
|
||||
templ Hello(name string) {
|
||||
<div>Hello, { name }</div>
|
||||
<head>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script src="https://unpkg.com/[email protected]" integrity="sha384-xcuj3WpfgjlKF+FXhSQFQ0ZNr39ln+hwjN3npfM9VBnUskLolQAcN80McRIVOPuO" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
|
||||
<div>Hello, { name }</div>
|
||||
|
||||
<button hx-post="/" hx-target="body">test</button>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user