add(web): add alpine and htmx
This commit is contained in:
parent
91a987e049
commit
96a5d9f230
7 changed files with 3321 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ package layouts
|
|||
import (
|
||||
"maot-shortner/web/templates/components/input"
|
||||
"maot-shortner/web/templates/components/label"
|
||||
"maot-shortner/web/templates/components/toast"
|
||||
"maot-shortner/web/templates/modules"
|
||||
)
|
||||
|
||||
|
|
@ -16,6 +17,9 @@ templ MainLayout() {
|
|||
<link rel="icon" type="image/x-icon" href="/static/img/favicon.ico"/>
|
||||
@input.Script()
|
||||
@label.Script()
|
||||
@toast.Script()
|
||||
<script src="/static/js/htmx.min.js"></script>
|
||||
<script src="/static/js/alpine.min.js"></script>
|
||||
</head>
|
||||
<body class="h-full">
|
||||
<div class="h-full flex flex-col">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue