Redmage/views/components/alpine.templ

9 lines
248 B
Plaintext
Raw Normal View History

2024-05-07 16:48:15 +07:00
package components
import "github.com/tigorlazuardi/redmage/views"
import "fmt"
templ AlpineJS(c *views.Context) {
<script defer src={ fmt.Sprintf("/public/alpinejs-%s.min.js", c.Config.String("web.dependencies.alpinejs.version")) }></script>
}