In Yesod/Haskell, I'd like to call addScriptRemote and have it add the <script>
tag in the head section. As is, it seems to add the script only to the body section.
Where scripts get placed will depend on jsLoader. If you want to make a change for a specific script, you can use toWidgetHead [hamlet|<script src=...">|]
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With