add(js): add correct import ver
This commit is contained in:
parent
80df48284c
commit
91a987e049
8 changed files with 7 additions and 37 deletions
|
|
@ -2,9 +2,9 @@
|
|||
package input
|
||||
|
||||
import (
|
||||
"maot-shortner/web/resources/utils"
|
||||
"maot-shortner/web/templates/components/button"
|
||||
"maot-shortner/web/templates/components/icon"
|
||||
"maot-shortner/web/resources/utils"
|
||||
)
|
||||
|
||||
type Type string
|
||||
|
|
@ -119,5 +119,5 @@ templ Input(props ...Props) {
|
|||
}
|
||||
|
||||
templ Script() {
|
||||
<script defer src="/web/static/js/input.min.js"></script>
|
||||
<script defer src="/static/js/input.min.js"></script>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,5 +38,5 @@ templ Label(props ...Props) {
|
|||
}
|
||||
|
||||
templ Script() {
|
||||
<script defer src="/web/static/js/label.min.js"></script>
|
||||
<script defer src="/static/js/label.min.js"></script>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue